diff --git a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs index 5398de979..5f3bf2a07 100644 --- a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs +++ b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs @@ -121,6 +121,7 @@ namespace Microsoft.DotNet.Migration.Tests private MigratedBuildComparisonData GetDotnetNewComparisonData(string projectDirectory, string dotnetNewType) { DotnetNew(projectDirectory, dotnetNewType); + File.Copy("NuGet.tempaspnetpatch.config", Path.Combine(projectDirectory, "NuGet.Config")); Restore(projectDirectory); var outputComparisonData = BuildProjectJsonMigrateBuildMSBuild(projectDirectory); diff --git a/test/dotnet-migrate.Tests/NuGet.tempaspnetpatch.config b/test/dotnet-migrate.Tests/NuGet.tempaspnetpatch.config new file mode 100644 index 000000000..10db25c30 --- /dev/null +++ b/test/dotnet-migrate.Tests/NuGet.tempaspnetpatch.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/test/dotnet-migrate.Tests/project.json b/test/dotnet-migrate.Tests/project.json index c996cbadf..58b3ac843 100644 --- a/test/dotnet-migrate.Tests/project.json +++ b/test/dotnet-migrate.Tests/project.json @@ -1,7 +1,7 @@ { "version": "1.0.0-*", "buildOptions": { - "copyToOutput": ["MSBuild.exe", "MSBuild.exe.config"] + "copyToOutput": ["MSBuild.exe", "MSBuild.exe.config", "NuGet.tempaspnetpatch.config"] }, "dependencies": { "Microsoft.NETCore.App": {