竹 MsBuild .Net Framework 2.0

Bamboo MsBuild .Net Framework 2.0

我的项目是 .Net Framework 2.0,我使用的是 Visual Studio 2012。我的项目在本地构建成功,但项目在 bamboo 服务器上构建错误

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

您需要在 "Executable" 选项中使用 MSBuild 版本 4,因为这决定了用于编译应用程序的 MSBuild 工具的版本。不要将它与您所针对的 .NET 框架版本混淆,后者由您的项目文件控制。