2011-11-17 75 views
3

試圖配置Visual Studio 2008項目(TFS2010)關於TeamCity的,與MS創建構建步驟建立選擇2.0作爲.NET Framework版本 - 但得到的follwoing錯誤:團隊市6.5.5 - MSBuild的問題

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

關於如何解決此問題的任何想法?我也嘗試選擇Visual Studio(SLN)作爲Runner Type,即使這樣做不起作用。

+0

您在TeamCity中選擇了哪個版本的MSBuild ToolsVersion? – sll

+0

我選擇了.net 2.0和msbuild工具2.0版 - 然後我得到了上面的錯誤,也嘗試爲它們中的每一個選擇3.5,現在它說服安裝vs2008,在服務器上sdk3.5 – user1022521

回答

5

使用較新版本的MSBuild。有關更多詳細信息,請參閱this link

+0

我的機器上有更新的版本已經.. – user1022521

+1

你讀過鏈接了嗎?你說過你正在爲.NET Framework 2.0使用MSBuild。所以,我的答案建議您使用.NET Framework 3.5或更高版本的MSBuild。 – Romeo