为什么我无法打开 VS 项目

Why am I not able to open a VS project

我有一个 Visual Studio 项目,是我在以前的 PC 上创建的(32 位,如果有区别的话)。我最近买了一台新 PC(64 位),我正在尝试打开该项目,但看到以下错误:

Unsupported
This version of Visual Studio does not have the following project types installed or does not support them. You can still open these projects in the version of Visual Studio in which they were originally created.
     - ONew, "C:\temp\onb\ONewSln\ONew\ONew.csproj"


No changes required
These projects can be opened in this version of Visual Studio without changing them. They will continue to open in Visual Studio 2010 SP1 and in this version of Visual Studio.
     - ONewWeb, "C:\temp\onb\ONewSln\ONewWeb\ONewWeb.csproj"
     - ONewSln, "C:\temp\onb\ONewSln\ONewSln.sln"

截图:

是否有我必须下载的附加组件或 visual studio 组件才能运行?

请帮我解决问题。

通常你可以在VS2012中打开VS2010 SP1文件。但是在打开和编译之后你可能会得到一些丢失包的错误。然后你必须安装缺少的包。检查一下:Visual Studio 2012 compatibilty.

Some solutions, projects, files, and other assets that you created in Visual Studio 2010 Service Pack 1 (SP1) will run without modification in Visual Studio 2012, but others have to be upgraded. The above document describes how various kinds of assets behave in these two versions of Visual Studio.

If you use both Visual Studio 2012 and Visual Studio 2010 SP1, you can create and modify projects and files in either version as long as you don't add features that require Visual Studio 2012.

VS2012 可能会在您首次打开项目时转换项目,但所做的更改(链接文档中注明的除外)向后兼容 VS2010。

经过一些研究并花了几个小时用头撞墙后,我想出了解决问题的方法。

您必须为 Visual Studio 2012 安装 Microsoft Office 开发人员工具。

打开 Web 平台安装程序,如果您没有安装它,download 并安装它。搜索 Office 开发人员工具并安装它。

这将使您能够毫无问题地打开项目。