Skip to content

Microsoft.DotNet.MSBuildSdkResolver.Tests fail locally and in CI #52408

Description

@tmat

CI log:
console.3e3995c1.txt

Repro:

  • Check out release/10.0.2xx
  • build
  • cd test\Microsoft.DotNet.MSBuildSdkResolver.Tests
  • dotnet test
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.3+b1b99bdeb3 (64-bit .NET Framework 4.8.9221.0)
[xUnit.net 00:00:00.80]   Discovering: Microsoft.DotNet.MSBuildSdkResolver.Tests (app domain = on [no shadow copy], method display = ClassAndMethod, method display options = None)
[xUnit.net 00:00:01.01]   Discovered:  Microsoft.DotNet.MSBuildSdkResolver.Tests (112 test cases to be run)
[xUnit.net 00:00:01.15]   Starting:    Microsoft.DotNet.MSBuildSdkResolver.Tests (parallel test collections = on [16 threads], stop on fail = off, explicit = off)
Running C:\sdk\artifacts\bin\redist\Debug\dotnet\dotnet.exe --version
> C:\sdk\artifacts\bin\redist\Debug\dotnet\dotnet.exe --version
Process ID: 53844
< C:\sdk\artifacts\bin\redist\Debug\dotnet\dotnet.exe --version exited with 0 in 320 ms.
[xUnit.net 00:00:01.91]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheTheVSRequiredSDKVersionIsHigherThanTheSDKVersionAvailable [FAIL]
[xUnit.net 00:00:01.91]       Expected result.Errors {"Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available version of MSBuild is 15.3.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available."} to contain "Version 1.0.1 of the .NET SDK is smaller than the minimum version 2.0.0 required by Visual Studio. Check that a recent enough .NET SDK is installed or increase the version specified in global.json.".
[xUnit.net 00:00:01.91]       Stack Trace:
[xUnit.net 00:00:01.91]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:01.91]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:01.91]            at FluentAssertions.Collections.GenericCollectionAssertions`3.Contain(T expected, String because, Object[] becauseArgs)
[xUnit.net 00:00:01.91]         GivenAnMSBuildSdkResolver.cs(387,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheTheVSRequiredSDKVersionIsHigherThanTheSDKVersionAvailable()
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
[xUnit.net 00:00:01.94]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuild(disallowPreviews: True) [FAIL]
[xUnit.net 00:00:01.94]       Expected result.Success to be True because No error expected. Error encountered: 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.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---5EC74AFA\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---5EC74AFA\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:01.94]       Stack Trace:
[xUnit.net 00:00:01.94]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:01.94]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:01.94]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:01.94]         GivenAnMSBuildSdkResolver.cs(202,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuild(Boolean disallowPreviews)
[xUnit.net 00:00:02.08]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuild(disallowPreviews: False) [FAIL]
[xUnit.net 00:00:02.08]       Expected result.Success to be True because No error expected. Error encountered: C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk\10.0.200-dev\Sdks\Some.Test.Sdk\Sdk not found. Check that a recent enough .NET SDK is installed and/or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---B61CCFD5\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---B61CCFD5\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.08]       Stack Trace:
[xUnit.net 00:00:02.08]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.08]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.08]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.08]         GivenAnMSBuildSdkResolver.cs(202,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuild(Boolean disallowPreviews)
[xUnit.net 00:00:02.10]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheDefaultVSRequiredSDKVersionIsHigherThanTheSDKVersionAvailable [FAIL]
[xUnit.net 00:00:02.10]       Expected result.Errors {"Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available version of MSBuild is 15.3.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available."} to contain "Version 1.0.1 of the .NET SDK is smaller than the minimum version 1.0.4 required by Visual Studio. Check that a recent enough .NET SDK is installed or increase the version specified in global.json.".
[xUnit.net 00:00:02.10]       Stack Trace:
[xUnit.net 00:00:02.10]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.10]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.10]            at FluentAssertions.Collections.GenericCollectionAssertions`3.Contain(T expected, String because, Object[] becauseArgs)
[xUnit.net 00:00:02.10]         GivenAnMSBuildSdkResolver.cs(364,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheDefaultVSRequiredSDKVersionIsHigherThanTheSDKVersionAvailable()
[xUnit.net 00:00:02.12]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnFile(disallowPreviews: False) [FAIL]
[xUnit.net 00:00:02.12]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available version of MSBuild is 15.3.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---04C91FBB\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---04C91FBB\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.12]       Stack Trace:
[xUnit.net 00:00:02.12]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.12]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.12]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.12]         GivenAnMSBuildSdkResolver.cs(481,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnFile(Boolean disallowPreviews)
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
[xUnit.net 00:00:02.15]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnFile(disallowPreviews: True) [FAIL]
[xUnit.net 00:00:02.15]       Expected result.Success to be True because No error expected. Error encountered: 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.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---DE138FEA\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---DE138FEA\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.15]       Stack Trace:
[xUnit.net 00:00:02.15]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.15]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.15]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.15]         GivenAnMSBuildSdkResolver.cs(481,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnFile(Boolean disallowPreviews)
A compatible .NET SDK was not found.
Requested SDK version: 1.2.3
global.json file: C:\sdk\artifacts\tmp\Debug\testing\ItDoesNotRetu---00299575\global.json
Installed SDKs:
Install the [1.2.3] .NET SDK or update [C:\sdk\artifacts\tmp\Debug\testing\ItDoesNotRetu---00299575\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
A compatible .NET SDK was not found.
Requested SDK version: 1.2.3
global.json file: C:\sdk\artifacts\tmp\Debug\testing\ItDoesNotRetu---4BF4CD42\global.json
Installed SDKs:
Install the [1.2.3] .NET SDK or update [C:\sdk\artifacts\tmp\Debug\testing\ItDoesNotRetu---4BF4CD42\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
[xUnit.net 00:00:02.23]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(solutionFilePath: "", projectFilePath: "") [FAIL]
[xUnit.net 00:00:02.23]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---E3571798\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---E3571798\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.23]       Stack Trace:
[xUnit.net 00:00:02.23]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.23]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.23]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.23]         GivenAnMSBuildSdkResolver.cs(121,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(String solutionFilePath, String projectFilePath)
[xUnit.net 00:00:02.27]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(solutionFilePath: "", projectFilePath: null) [FAIL]
[xUnit.net 00:00:02.27]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---20D4BB1D\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---20D4BB1D\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.27]       Stack Trace:
[xUnit.net 00:00:02.27]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.27]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.27]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.27]         GivenAnMSBuildSdkResolver.cs(121,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(String solutionFilePath, String projectFilePath)
[xUnit.net 00:00:02.28]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(solutionFilePath: null, projectFilePath: null) [FAIL]
[xUnit.net 00:00:02.28]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---4C69B3F1\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---4C69B3F1\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.28]       Stack Trace:
[xUnit.net 00:00:02.29]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.29]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.29]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.29]         GivenAnMSBuildSdkResolver.cs(121,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(String solutionFilePath, String projectFilePath)
[xUnit.net 00:00:02.30]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(solutionFilePath: null, projectFilePath: "") [FAIL]
[xUnit.net 00:00:02.30]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---57A4BAA7\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---57A4BAA7\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.30]       Stack Trace:
[xUnit.net 00:00:02.30]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.30]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.30]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.30]         GivenAnMSBuildSdkResolver.cs(121,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(String solutionFilePath, String projectFilePath)
[xUnit.net 00:00:02.32]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnDefault(disallowPreviewsByDefault: False) [FAIL]
[xUnit.net 00:00:02.32]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available version of MSBuild is 15.3.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---BCF9C00B\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---BCF9C00B\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.32]       Stack Trace:
[xUnit.net 00:00:02.32]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.32]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.32]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.32]         GivenAnMSBuildSdkResolver.cs(453,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnDefault(Boolean disallowPreviewsByDefault)
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
[xUnit.net 00:00:02.34]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnDefault(disallowPreviewsByDefault: True) [FAIL]
[xUnit.net 00:00:02.34]       Expected result.Success to be True because No error expected. Error encountered: 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.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---53303437\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---53303437\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.34]       Stack Trace:
[xUnit.net 00:00:02.34]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.34]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.34]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.34]         GivenAnMSBuildSdkResolver.cs(453,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnDefault(Boolean disallowPreviewsByDefault)
[xUnit.net 00:00:02.36]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesProjectDirectoryIfSolutionFilePathIsNullOrWhitespace(solutionFilePath: "") [FAIL]
[xUnit.net 00:00:02.36]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesProject---FFB7587F\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesProject---FFB7587F\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.36]       Stack Trace:
[xUnit.net 00:00:02.36]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.36]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.36]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.36]         GivenAnMSBuildSdkResolver.cs(94,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesProjectDirectoryIfSolutionFilePathIsNullOrWhitespace(String solutionFilePath)
[xUnit.net 00:00:02.37]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesProjectDirectoryIfSolutionFilePathIsNullOrWhitespace(solutionFilePath: null) [FAIL]
[xUnit.net 00:00:02.37]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesProject---6EA6E39C\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesProject---6EA6E39C\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.37]       Stack Trace:
[xUnit.net 00:00:02.37]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.37]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.37]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.37]         GivenAnMSBuildSdkResolver.cs(94,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesProjectDirectoryIfSolutionFilePathIsNullOrWhitespace(String solutionFilePath)
[xUnit.net 00:00:02.41]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItRespectsAmbientVSSettings [FAIL]
[xUnit.net 00:00:02.41]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available version of MSBuild is 15.3.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItRespectsAmb---71442EE1\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItRespectsAmb---71442EE1\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.41]       Stack Trace:
[xUnit.net 00:00:02.41]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.41]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.41]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.41]         GivenAnMSBuildSdkResolver.cs(584,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItRespectsAmbientVSSettings()
[xUnit.net 00:00:02.47]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsTheVersionIfItIsHigherThanTheMinVersionAndTheVSDefinedMinVersion [FAIL]
[xUnit.net 00:00:02.47]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.99.99 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsTheV---EBF7987B\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsTheV---EBF7987B\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.47]       Stack Trace:
[xUnit.net 00:00:02.47]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.47]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.47]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.47]         GivenAnMSBuildSdkResolver.cs(426,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsTheVersionIfItIsHigherThanTheMinVersionAndTheVSDefinedMinVersion()
A compatible .NET SDK was not found.
Requested SDK version: 1.2.3
global.json file: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---635E7946\global.json
Installed SDKs:
Install the [1.2.3] .NET SDK or update [C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---635E7946\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
[xUnit.net 00:00:02.51]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuildWhenVersionInGlobalJsonCannotBeFoundAndRunningInVisualStudio(disallowPreviews: True) [FAIL]
[xUnit.net 00:00:02.51]       Expected result.Success to be True because No error expected. Error encountered: 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.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---635E7946\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---635E7946\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.51]       Stack Trace:
[xUnit.net 00:00:02.51]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.51]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.51]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.51]         GivenAnMSBuildSdkResolver.cs(322,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuildWhenVersionInGlobalJsonCannotBeFoundAndRunningInVisualStudio(Boolean disallowPreviews)
A compatible .NET SDK was not found.
Requested SDK version: 1.2.3
global.json file: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---E105CC53\global.json
Installed SDKs:
Install the [1.2.3] .NET SDK or update [C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---E105CC53\global.json] to match an installed SDK.
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
[xUnit.net 00:00:02.55]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuildWhenVersionInGlobalJsonCannotBeFoundAndRunningInVisualStudio(disallowPreviews: False) [FAIL]
[xUnit.net 00:00:02.55]       Expected result.Success to be True because No error expected. Error encountered: C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk\10.0.200-dev\Sdks\Some.Test.Sdk\Sdk not found. Check that a recent enough .NET SDK is installed and/or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---E105CC53\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---E105CC53\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.55]       Stack Trace:
[xUnit.net 00:00:02.55]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.55]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.55]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.55]         GivenAnMSBuildSdkResolver.cs(322,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuildWhenVersionInGlobalJsonCannotBeFoundAndRunningInVisualStudio(Boolean disallowPreviews)
[xUnit.net 00:00:02.57]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheSDKRequiresAHigherVersionOfMSBuildThanAnyOneAvailable [FAIL]
[xUnit.net 00:00:02.57]       Expected result.Errors {"Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.99.99 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json."} to contain "Version 99.99.99 of the .NET SDK requires at least version 2.0 of MSBuild. The current available version of MSBuild is 1.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.".
[xUnit.net 00:00:02.57]       Stack Trace:
[xUnit.net 00:00:02.57]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.57]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.57]            at FluentAssertions.Collections.GenericCollectionAssertions`3.Contain(T expected, String because, Object[] becauseArgs)
[xUnit.net 00:00:02.57]         GivenAnMSBuildSdkResolver.cs(173,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheSDKRequiresAHigherVersionOfMSBuildThanAnyOneAvailable()
[xUnit.net 00:00:02.66]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItObservesChangesToVSSettingsFile [FAIL]
[xUnit.net 00:00:02.66]       Expected result.Success to be True because default with no file (0), but found False.
[xUnit.net 00:00:02.66]       Stack Trace:
[xUnit.net 00:00:02.66]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.66]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.66]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.66]         GivenAnMSBuildSdkResolver.cs(513,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.<ItObservesChangesToVSSettingsFile>g__Check|20_0(Boolean disallowPreviews, String message, <>c__DisplayClass20_0& )
[xUnit.net 00:00:02.66]         GivenAnMSBuildSdkResolver.cs(523,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItObservesChangesToVSSettingsFile()
[xUnit.net 00:00:02.68]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsTheVersionIfItIsEqualToTheMinVersionAndTheVSDefinedMinVersion [FAIL]
[xUnit.net 00:00:02.68]       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.99.99 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsTheV---B8249453\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsTheV---B8249453\ProgramFilesX64\dotnet;, but found False.
[xUnit.net 00:00:02.68]       Stack Trace:
[xUnit.net 00:00:02.68]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.68]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.68]            at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
[xUnit.net 00:00:02.68]         GivenAnMSBuildSdkResolver.cs(404,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsTheVersionIfItIsEqualToTheMinVersionAndTheVSDefinedMinVersion()
[xUnit.net 00:00:02.73]     Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullIfTheVersionFoundDoesNotSatisfyTheMinVersion [FAIL]
[xUnit.net 00:00:02.73]       Expected result.Errors {"Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 999.99.99 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json."} to contain "Version 99.99.99 of the .NET SDK is smaller than the minimum version 999.99.99 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.".
[xUnit.net 00:00:02.73]       Stack Trace:
[xUnit.net 00:00:02.73]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:00:02.73]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:00:02.73]            at FluentAssertions.Collections.GenericCollectionAssertions`3.Contain(T expected, String because, Object[] becauseArgs)
[xUnit.net 00:00:02.73]         GivenAnMSBuildSdkResolver.cs(147,0): at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullIfTheVersionFoundDoesNotSatisfyTheMinVersion()
[xUnit.net 00:00:03.04]   Finished:    Microsoft.DotNet.MSBuildSdkResolver.Tests
10.0.100-dev [C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk]
10.0.200-dev [C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk]
10.0.100-dev [C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk]
10.0.200-dev [C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk]
10.0.100-dev [C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk]
10.0.200-dev [C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk]
10.0.100-dev [C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk]
10.0.200-dev [C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk]
  Microsoft.DotNet.MSBuildSdkResolver.Tests test net472 failed with 22 error(s) (4.2s)
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(387): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheTheVSRequiredSDKVersionIsHigherThanTheSDKVersionAvailable (673ms): Error Message: Exp
      ected result.Errors {"Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available version of MSBuild is 15.3.0. Change t
      he .NET SDK specified in global.json to an older version that requires the MSBuild version currently available."} to contain "Version 1.0.1 of the .NET SDK is small
      er than the minimum version 2.0.0 required by Visual Studio. Check that a recent enough .NET SDK is installed or increase the version specified in global.json.".
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Collections.GenericCollectionAssertions`3.Contain(T expected, String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheTheVSRequiredSDKVersionIsHigherThanTheSDKVersionAvailable() in C:\sdk\test\Micr
      osoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 387
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(202): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuild(disallowPreviews: True) (37ms): Error Message: Ex
      pected result.Success to be True because No error expected. Error encountered: Unable to locate the .NET SDK. Check that it is installed, your PATH is configured fo
      r the correct architecture, and that the version specified in global.json (if any) matches the installed version.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\t
      esting\ItReturnsHigh---5EC74AFA\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---5EC74AFA\ProgramFilesX64\dotnet;,
       but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuild(Boolean disallowPreviews) in C:\sdk\test\Mi
      crosoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 202
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(202): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuild(disallowPreviews: False) (148ms): Error Message:
      Expected result.Success to be True because No error expected. Error encountered: C:\sdk\artifacts\bin\redist\Debug\dotnet\sdk\10.0.200-dev\Sdks\Some.Test.Sdk\Sdk no
      t found. Check that a recent enough .NET SDK is installed and/or increase the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\tes
      ting\ItReturnsHigh---B61CCFD5\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---B61CCFD5\ProgramFilesX64\dotnet;, b
      ut found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuild(Boolean disallowPreviews) in C:\sdk\test\Mi
      crosoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 202
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(364): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheDefaultVSRequiredSDKVersionIsHigherThanTheSDKVersionAvailable (15ms): Error Message:
      Expected result.Errors {"Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available version of MSBuild is 15.3.0. Chang
      e the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available."} to contain "Version 1.0.1 of the .NET SDK is sm
      aller than the minimum version 1.0.4 required by Visual Studio. Check that a recent enough .NET SDK is installed or increase the version specified in global.json.".
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Collections.GenericCollectionAssertions`3.Contain(T expected, String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheDefaultVSRequiredSDKVersionIsHigherThanTheSDKVersionAvailable() in C:\sdk\test\
      Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 364
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(481): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnFile(disallowPreviews: False) (24ms): Error Message: Expected result.Success to
       be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available versi
      on of MSBuild is 15.3.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.. Mocked Process Pat
      h: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---04C91FBB\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---04
      C91FBB\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnFile(Boolean disallowPreviews) in C:\sdk\test\Microsoft.DotNet.MSBuildSdk
      Resolver.Tests\GivenAnMSBuildSdkResolver.cs:line 481
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(481): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnFile(disallowPreviews: True) (24ms): Error Message: Expected result.Success to
      be True because No error expected. Error encountered: Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architectur
      e, and that the version specified in global.json (if any) matches the installed version.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---DE
      138FEA\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---DE138FEA\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnFile(Boolean disallowPreviews) in C:\sdk\test\Microsoft.DotNet.MSBuildSdk
      Resolver.Tests\GivenAnMSBuildSdkResolver.cs:line 481
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(121): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(solutionFilePath: "", projec
      tFilePath: "") (14ms): Error Message: Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is small
      er than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase t
      he version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---E3571798\ProgramFilesX64\dotnet\dotnet.exe. Mocked Pat
      h: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---E3571798\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(String solutionFilePat
      h, String projectFilePath) in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 121
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(121): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(solutionFilePath: "", projec
      tFilePath: null) (36ms): Error Message: Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is sma
      ller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase
       the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---20D4BB1D\ProgramFilesX64\dotnet\dotnet.exe. Mocked P
      ath: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---20D4BB1D\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(String solutionFilePat
      h, String projectFilePath) in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 121
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(121): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(solutionFilePath: null, proj
      ectFilePath: null) (14ms): Error Message: Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is s
      maller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increa
      se the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---4C69B3F1\ProgramFilesX64\dotnet\dotnet.exe. Mocked
       Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---4C69B3F1\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(String solutionFilePat
      h, String projectFilePath) in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 121
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(121): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(solutionFilePath: null, proj
      ectFilePath: "") (16ms): Error Message: Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is sma
      ller than the minimum version 99.0.0 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase
       the version specified in global.json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---57A4BAA7\ProgramFilesX64\dotnet\dotnet.exe. Mocked P
      ath: C:\sdk\artifacts\tmp\Debug\testing\ItUsesCurrent---57A4BAA7\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesCurrentDirectoryIfSolutionFilePathAndProjectFilePathIsNullOrWhitespace(String solutionFilePat
      h, String projectFilePath) in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 121
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(453): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnDefault(disallowPreviewsByDefault: False) (20ms): Error Message: Expected resul
      t.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current ava
      ilable version of MSBuild is 15.3.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.. Mocked
       Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---BCF9C00B\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisa
      llowsPr---BCF9C00B\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnDefault(Boolean disallowPreviewsByDefault) in C:\sdk\test\Microsoft.DotNe
      t.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 453
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(453): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnDefault(disallowPreviewsByDefault: True) (20ms): Error Message: Expected result
      .Success to be True because No error expected. Error encountered: 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.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisa
      llowsPr---53303437\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItDisallowsPr---53303437\ProgramFilesX64\dotnet;, but found Fa
      lse.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItDisallowsPreviewsBasedOnDefault(Boolean disallowPreviewsByDefault) in C:\sdk\test\Microsoft.DotNe
      t.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 453
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(94): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesProjectDirectoryIfSolutionFilePathIsNullOrWhitespace(solutionFilePath: "") (15ms): Error Message: E
      xpected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.0.0 requ
      ested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. M
      ocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesProject---FFB7587F\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\I
      tUsesProject---FFB7587F\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesProjectDirectoryIfSolutionFilePathIsNullOrWhitespace(String solutionFilePath) in C:\sdk\test\
      Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 94
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(94): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesProjectDirectoryIfSolutionFilePathIsNullOrWhitespace(solutionFilePath: null) (15ms): Error Message:
       Expected result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.0.0 re
      quested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json..
       Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItUsesProject---6EA6E39C\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing
      \ItUsesProject---6EA6E39C\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItUsesProjectDirectoryIfSolutionFilePathIsNullOrWhitespace(String solutionFilePath) in C:\sdk\test\
      Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 94
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(584): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItRespectsAmbientVSSettings (20ms): Error Message: Expected result.Success to be True because No error ex
      pected. Error encountered: Version 10.0.200-dev of the .NET SDK requires at least version 18.0.0 of MSBuild. The current available version of MSBuild is 15.3.0. Cha
      nge the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.. Mocked Process Path: C:\sdk\artifacts\tmp\Debu
      g\testing\ItRespectsAmb---71442EE1\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItRespectsAmb---71442EE1\ProgramFilesX64\dotne
      t;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItRespectsAmbientVSSettings() in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBui
      ldSdkResolver.cs:line 584
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(426): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsTheVersionIfItIsHigherThanTheMinVersionAndTheVSDefinedMinVersion (15ms): Error Message: Expected
       result.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.99.99 requested
      . Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked
       Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsTheV---EBF7987B\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItRetu
      rnsTheV---EBF7987B\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsTheVersionIfItIsHigherThanTheMinVersionAndTheVSDefinedMinVersion() in C:\sdk\test\Microsof
      t.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 426
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(322): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuildWhenVersionInGlobalJsonCannotBeFoundAndRunningInVi
      sualStudio(disallowPreviews: True) (35ms): Error Message: Expected result.Success to be True because No error expected. Error encountered: 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.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---635E7946\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Deb
      ug\testing\ItReturnsHigh---635E7946\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuildWhenVersionInGlobalJsonCannotBeFoundAndRunni
      ngInVisualStudio(Boolean disallowPreviews) in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 322
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(322): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuildWhenVersionInGlobalJsonCannotBeFoundAndRunningInVi
      sualStudio(disallowPreviews: False) (33ms): Error Message: Expected result.Success to be True because No error expected. Error encountered: C:\sdk\artifacts\bin\red
      ist\Debug\dotnet\sdk\10.0.200-dev\Sdks\Some.Test.Sdk\Sdk not found. Check that a recent enough .NET SDK is installed and/or increase the version specified in global
      .json.. Mocked Process Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsHigh---E105CC53\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\
      testing\ItReturnsHigh---E105CC53\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsHighestSdkAvailableThatIsCompatibleWithMSBuildWhenVersionInGlobalJsonCannotBeFoundAndRunni
      ngInVisualStudio(Boolean disallowPreviews) in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 322
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(173): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheSDKRequiresAHigherVersionOfMSBuildThanAnyOneAvailable (26ms): Error Message: Expected
       result.Errors {"Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.99.99 requested. Check that a recent enough .NET SDK is installed, incr
      ease the minimum version specified in the project, or increase the version specified in global.json."} to contain "Version 99.99.99 of the .NET SDK requires at leas
      t version 2.0 of MSBuild. The current available version of MSBuild is 1.0. Change the .NET SDK specified in global.json to an older version that requires the MSBuil
      d version currently available.".
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Collections.GenericCollectionAssertions`3.Contain(T expected, String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullWhenTheSDKRequiresAHigherVersionOfMSBuildThanAnyOneAvailable() in C:\sdk\test\Microsof
      t.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 173
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(513): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItObservesChangesToVSSettingsFile (22ms): Error Message: Expected result.Success to be True because defau
      lt with no file (0), but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.<ItObservesChangesToVSSettingsFile>g__Check|20_0(Boolean disallowPreviews, String message, <>c__Dis
      playClass20_0& ) in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 513
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItObservesChangesToVSSettingsFile() in C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenA
      nMSBuildSdkResolver.cs:line 523
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(404): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsTheVersionIfItIsEqualToTheMinVersionAndTheVSDefinedMinVersion (18ms): Error Message: Expected re
      sult.Success to be True because No error expected. Error encountered: Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 99.99.99 requested. C
      heck that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified in global.json.. Mocked Pr
      ocess Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturnsTheV---B8249453\ProgramFilesX64\dotnet\dotnet.exe. Mocked Path: C:\sdk\artifacts\tmp\Debug\testing\ItReturns
      TheV---B8249453\ProgramFilesX64\dotnet;, but found False.
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsTheVersionIfItIsEqualToTheMinVersionAndTheVSDefinedMinVersion() in C:\sdk\test\Microsoft.D
      otNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 404
    C:\sdk\test\Microsoft.DotNet.MSBuildSdkResolver.Tests\GivenAnMSBuildSdkResolver.cs(147): error TESTERROR:
      Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullIfTheVersionFoundDoesNotSatisfyTheMinVersion (15ms): Error Message: Expected result.Errors {
      "Version 10.0.200-dev of the .NET SDK is smaller than the minimum version 999.99.99 requested. Check that a recent enough .NET SDK is installed, increase the minimu
      m version specified in the project, or increase the version specified in global.json."} to contain "Version 99.99.99 of the .NET SDK is smaller than the minimum ver
      sion 999.99.99 requested. Check that a recent enough .NET SDK is installed, increase the minimum version specified in the project, or increase the version specified
       in global.json.".
      Stack Trace:
         at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
         at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
         at FluentAssertions.Collections.GenericCollectionAssertions`3.Contain(T expected, String because, Object[] becauseArgs)
         at Microsoft.DotNet.Cli.Utils.Tests.GivenAnMSBuildSdkResolver.ItReturnsNullIfTheVersionFoundDoesNotSatisfyTheMinVersion() in C:\sdk\test\Microsoft.DotNet.MSBuild
      SdkResolver.Tests\GivenAnMSBuildSdkResolver.cs:line 147

Test summary: total: 112, failed: 22, succeeded: 90, skipped: 0, duration: 4.2s
Build failed with 22 error(s) in 11.7s

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions