You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Microsoft.Build.Definition;using Microsoft.Build.Evaluation;// Program.Main
Environment.SetEnvironmentVariable("MSBUILD_EXE_PATH",@"C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\MSBuild.dll");//2.2.104 works// Environment.SetEnvironmentVariable("MSBUILD_EXE_PATH", @"C:\Program Files\dotnet\sdk\2.2.104\MSBuild.dll");// throws exception , uncomment previous line and see that it will fix itvarproject= Project.FromFile("someproject.csproj",new ProjectOptions());
The text was updated successfully, but these errors were encountered:
bugproof
changed the title
Missing SDK when using the Microsoft.Build package
Missing SDK when setting MSBUILD_EXE_PATH to .NET Core 3.0's MSBuild.dll
Mar 26, 2019
bugproof
changed the title
Missing SDK when setting MSBUILD_EXE_PATH to .NET Core 3.0's MSBuild.dll
Missing SDK when setting MSBUILD_EXE_PATH to .NET Core 3.0 MSBuild.dll
Mar 26, 2019
https://blog.rsuter.com/missing-sdk-when-using-the-microsoft-build-package-in-net-core/ (this fix was working until I installed .NET Core 3 SDK)
MSBuild.dll from 3.0 SDK seems to break something and the workaround doesn't work anymore.
Steps to reproduce
@rainersigwald
#2532
The text was updated successfully, but these errors were encountered: