Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Not able to build project with ToolsVersion="15.0" #2519
After the update of the dotnet framework sdk image my CI pipeline is no longer working.
'/Program86/Microsoft Visual Studio/2019/Preview/MSBuild/Current/Bin/MSBuild.exe'
Please have a look at cake/src/Cake.Common/Tools/MSBuild/MSBuildResolver.cs
var versions = new
@Roemer i tested your sample with 2019 too. A little drawback for a testdriver is, that you only get an output that there is an automatic downgrade from ToolsVersion="15.0" to ToolsVersion="4.0" if msbuild16 was not found. I have no idea to check is it is realy msbuild16!
I little workaround is to use newer C# 7/8 language keywords, so you get a real exception. For example string interpolation:
So cake will cancel with:
* release/0.34.0: (27 commits) Updated version and release notes. add null checks Enhance the Teamcity Provider's PullRequest detection (GH-2572) Update build dependencies * Fixes #2572 (GH-2161) Make NuGet.Config path absolute. Added Runtime to DotNetCoreTestSettings and test for it. added missing runtime property and adapted tests Implement the NoImplicitTarget property and extension method to enable opt-out of default target Build. Added tests for the relevant scenarios. (GH-2553) Address HttpClient issue on Mono Run integration tests on Travis CI Update SDK & Fix SDK root variable Added HttpClient integration test Added NuGet pack files unit test closes issue #2157. Rewrite in-proc NuGet and update to NuGet 5.0 GH2536: Additional formatting options for XmlPoke Rename octo.exe to Octo.exe Added new nuspec properties to NuGetPackSettings and implemented related functions. Changes for stable Visual Studio 2019 release * fixes #2519 (GH-2523) Fix Cake.Tool package description * fixes #2523 ...