我剛剛格式化了PC並安裝了Visual Studio 2013。現在,我想編譯一個Visual Studio 2010 C++解決方案而無需轉換,並繼續定位v100平臺工具集。我需要使用Visual Studio 2013爲Platform Toolset v100進行編譯?
我得到這個錯誤:
error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets 64 5 TPC30004
和項目屬性我看到,我當然想念所需的工具集。
我不能改變的目標,因爲不能強制XP用戶安裝新的C++ 2013再分發所以也許我應該安裝Visual Studio 2010來解決這個問題,但如果可能的話,我想避免它(目前小SSD和沒有太多可用空間)。
還有其他選擇嗎?
我想問題是缺少'C:\ Program Files文件(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V100'。我的機器一樣。試圖安裝[適用於Microsoft .NET Framework 4.0.3的多目標套件(KB2600213)](https://www.microsoft.com/zh-CN/download/details.aspx?id=29052),但它沒有幫助。仍然希望我可以避免安裝VS 2010或不得不將應用程序遷移到新版本的框架。 – Palec