“Unspecified error” in Visual Studio 2008 when trying to view project properties

后端 未结 5 1015
别跟我提以往
别跟我提以往 2021-01-11 13:53

When I set my active solution from Win32 to x64, I cannot build the project or view the properties.

When I try to build my project, it is skipped.

When I try

相关标签:
5条回答
  • 2021-01-11 14:21

    The x64 components for Visual Studio 2008 had not been installed on the second computer. Installing those solved the problem.

    (There are a lot of unhelpful hits in Google when searching for a solution to this problem. Hopefully this helps someone else in the future.)

    0 讨论(0)
  • 2021-01-11 14:23

    I had the same issue with Visual Studio 2005. I fixed it by running Visual Studio install/repair and selecting the 64 bit components under the C++ install options.

    0 讨论(0)
  • 2021-01-11 14:28

    VS 2008 Pro doesn't install the 64-bit compiler and tools by default. You have to explicitly select them during the installation.

    Control Panel -> Uninstall Programs. Select Visual Studio and click Uninstall/Change. Wait. Wait some more. Click Next. Choose Add or Remove Features. Expand MSVC 2008 -> Language Tools -> Visual C++. Select X64 Compilers and Tools. You'll probably need your original installation media.

    Once the 64-bit compiler and tools are installed, you should be able to add a 64-bit configuration to your solution

    0 讨论(0)
  • 2021-01-11 14:37

    Even if Visual studio 2008 64 bit is not installed in windows 7 machine, User can select compatibility mode to windows xp using property option and can continue to run visual studio using "Run as administrator" option to avoide this error.

    0 讨论(0)
  • 2021-01-11 14:38

    In my case removing TargetFrameworkVersion attribute from VisualStudioProject xml node of vcproj file solved the problem. I suspect it was caused by project file conversion from previous version of Visual Studio.

    0 讨论(0)
提交回复
热议问题