Skip to content

Commit 4f810c1

Browse files
author
Jason Zhai
committed
Merge branch 'release/6.0.4xx' into release/8.0.1xx
2 parents d7cce5a + 7ac4eeb commit 4f810c1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildWithGlobalJson.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ public void It_fails_build_on_failed_sdk_resolution(bool runningInVS)
3535
var result = buildCommand.Execute($"/p:BuildingInsideVisualStudio={runningInVS}", $"/bl:binlog{runningInVS}.binlog")
3636
.Should()
3737
.Fail();
38-
var warningString = runningInVS
39-
? "warning : Unable to locate the .NET SDK version '9.9.999' as specified by global.json, please check that the specified version is installed."
40-
: "warning : Unable to locate the .NET SDK as specified by global.json, please check that the specified version is installed.";
41-
var errorString = "Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architecture, and that the version specified in global.json (if any) matches the installed version.";
38+
var warningString = "warning : Unable to locate the .NET SDK";
39+
var errorString = "Unable to locate the .NET SDK. Check that it is installed";
4240
if (runningInVS)
4341
{
4442
result.And

0 commit comments

Comments
 (0)