Version Used: VS 2017 15.7 Preview 1
Steps to Reproduce: on dev15.7.x branch
- Install dotnet-sdk-2.1.300-preview2-008324-win-x64.exe
- Run restore.cmd
- Run build.cmd
Actual Behavior:
Build fails with the following error for 161 projects, (notice the empty string in "found instead")
D:\dotnet\roslyn\build\Targets\Imports.targets(436,5): error :
The 2.1.300-preview2-008324 SDK is required to build this repo but found instead.
The correct SDK can be install here ...
D:\dotnet\roslyn>dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 2.1.300-preview2-008324
Commit: ca0695c2e1
Runtime Environment:
OS Name: Windows
OS Version: 10.0.16299
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.1.300-preview2-008324\
Host (useful for support):
Version: 2.1.0-preview2-26309-01
Commit: 750b1a68da
.NET Core SDKs installed:
2.1.300-preview2-008324 [C:\Program Files\dotnet\sdk]
2.2.0-preview1-007622 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.0-preview2-30248 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.0-preview2-30248 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.0-preview1-25929-02 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.0-preview2-26309-01 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Version Used: VS 2017 15.7 Preview 1
Steps to Reproduce: on
dev15.7.xbranchActual Behavior:
Build fails with the following error for 161 projects, (notice the empty string in "
found instead")