question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rake build error when having both 14 and 15 msbuild

See original GitHub issue

This is what I’m getting when running bundle exec rake

D, [2016-05-22T23:07:20.990390 #5656] DEBUG -- : Executing Exec: "F:/Projects/github/_mvas/FakeItEasy/.nuget/NuGet.exe" restore FakeItEasy.sln
MSBuild auto-detection: using msbuild version '15.0' from 'C:\Program Files (x86)\MSBuild\15.0\bin'.
Error parsing solution file at F:\Projects\github\_mvas\FakeItEasy\FakeItEasy.sln: This version of msbuild is not supported: 'Microsoft.Build, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
F, [2016-05-22T23:07:21.503093 #5656] FATAL -- : Exec Failed. See Build Log For Detail

I have MSBuild 15 and 14 both installed, seems like nuget should be told to use 14 strictly

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
thomaslevesquecommented, May 22, 2016

Awesome, so I guess we can merge #721

Done

0reactions
adamralphcommented, May 22, 2016

Awesome, so I guess we can merge #721

Read more comments on GitHub >

github_iconTop Results From Across the Web

MSBuild Command-Line Reference
Learn how to use MSBuild.exe command line to build specific targets of specific projects in solutions. Learn about the MSBuild settings you can ......
Read more >
C# version error when building with msbuild, ok with Visual ...
I can build my project just fine using Visual Studio 2017; however when I use msbuild 15, I get this eror: error CS8306:...
Read more >
MSBUILD Error - exit code 2147010893
I've drilled down to the build-agent log and it gives the same detail, no extent of googling can seem to tell me exactly...
Read more >
Projects fail to build in 15.8.0 due to errors from Microsoft. ...
I have several projects that are now failing to build in 15.8. Both were building in 15.7. These projects don't have any NuGet...
Read more >
Visual Studio Build Task failure on UWP
I have a hosted build that has been working successfully but two days ago it started failing. The Visual Studio Build task is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found