代码之家  ›  专栏  ›  技术社区  ›  Aydzan Ahmedov

找不到平台工具集(v90)

  •  0
  • Aydzan Ahmedov  · 技术社区  · 2 年前

    我有很多c++和c#项目的visual studio。x64平台上的构建突然停止。但我仍然可以在x32l的基础上进行构建。问题出在哪里? 错误: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(440,5): error MSB8020: The build tools for Visual Studio 2008 (Platform Toolset = 'v90') cannot be found. To build using the v90 build tools, please install Visual Studio 2008 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 "Retarget solution".

    当我试图构建2010项目时也会出现同样的错误(v100)

    我尝试卸载/安装VS 2008,但没有任何更改。

    0 回复  |  直到 2 年前
        1
  •  0
  •   Aydzan Ahmedov    2 年前

    问题是我丢失了这个文件

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.props