Skip to content

Commit

Permalink
Merge branch 'release/7.0.2xx'
Browse files Browse the repository at this point in the history
  • Loading branch information
v-wuzhai committed Jan 16, 2023
2 parents 0757287 + 0040bb6 commit ab4af65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions build/RunTestsOnHelix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ cp -a $HELIX_CORRELATION_PAYLOAD/t/TestExecutionDirectoryFiles/. $TestExecutionD
# call dotnet new so the first run message doesn't interfere with the first test
dotnet new --debug:ephemeral-hive
# We downloaded a special zip of files to the .nuget folder so add that as a source
dotnet nuget list source --configfile $TestExecutionDirectory/nuget.config
dotnet nuget add source $DOTNET_ROOT/.nuget --configfile $TestExecutionDirectory/nuget.config
dotnet nuget list source --configfile $TestExecutionDirectory/nuget.config
dotnet nuget remove source dotnet6-transport --configfile $TestExecutionDirectory/nuget.config
Expand Down
6 changes: 4 additions & 2 deletions src/Tests/Microsoft.NET.Build.Tests/ReferenceExeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ public void TestProjectCanReferenceExe(string testTemplateName)
var testProjectDirectory = Path.Combine(testAsset.TestRoot, "TestProject");
Directory.CreateDirectory(testProjectDirectory);

new DotnetCommand(Log, "new", testTemplateName, "--debug:ephemeral-hive")
new DotnetNewCommand(Log, testTemplateName)
.WithVirtualHive()
.WithWorkingDirectory(testProjectDirectory)
.Execute()
.Should()
Expand Down Expand Up @@ -353,7 +354,8 @@ public void ExeProjectCanReferenceTestProject(string testTemplateName)
var testProjectDirectory = Path.Combine(testAsset.TestRoot, "TestProject");
Directory.CreateDirectory(testProjectDirectory);

new DotnetCommand(Log, "new", testTemplateName, "--debug:ephemeral-hive")
new DotnetNewCommand(Log, testTemplateName)
.WithVirtualHive()
.WithWorkingDirectory(testProjectDirectory)
.Execute()
.Should()
Expand Down

0 comments on commit ab4af65

Please sign in to comment.