1

My project is .Net Framework 2.0 and I am use Visual Studio 2012. My project build success at my local but project is build error at bamboo server

enter image description here

Solution file error MSB5014: File format version is not recognized. MSBuild can only read solution files between versions 7.0 and 9.0, inclusive.

Lies
  • 516
  • 6
  • 18
Alper Şaldırak
  • 1,034
  • 8
  • 10

1 Answers1

1

You need to use version 4 of MSBuild in the "Executable" option as this determines the version of MSBuild tools used to compile the application. Do not confuse this with the version of the .NET framework you are targetting, which is controlled by your project files.

Paul Hunt
  • 3,395
  • 2
  • 24
  • 39
  • Thanks. I have a problem Build project " LC : error LC0000: 'Could not load file or assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.'" – Alper Şaldırak Jan 27 '16 at 11:37
  • New questions should not really go into comments. Take a look at http://stackoverflow.com/questions/10607095/this-assembly-is-built-by-a-runtime-newer-than-the-currently-loaded-runtime-and – Paul Hunt Jan 27 '16 at 11:45