【问题标题】:Can't open Solution - Because of my Visual Studio version?无法打开解决方案 - 因为我的 Visual Studio 版本?
【发布时间】:2017-08-30 01:57:22
【问题描述】:

我正在处理一个项目,他们要求我使用 Visual Studio 2013,所以我下载了,但我仍然无法打开解决方案。这是错误信息:

Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. 
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
     - {name}.OutlookAddIn, "{path}\{name}.OutlookAddIn.csproj"
     - {name}.Installer, "{path}\{name}.Installer.vdproj"


No changes required
These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
     - {name}, "{path}\{name}.csproj"
     - {name}, "{path}\{my_solution}.sln"

迁移报告中的错误消息:

{name}.Installer\{name}.Installer.vdproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=54435603-DBB4-11D2-8724-00A0C9A8B90C

{name}.OutlookAddIn\{name}.OutlookAddIn.csproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=BAA0C2D2-18E2-41B9-852F-F413020CAA33

当我在文本编辑器中打开解决方案文件时,我可以看到他们使用的 Visual Studio 版本比我的旧:

VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1

我的版本:

12.0.40629.00 Update 5

我也尝试在 Visual Studio 2015 中打开解决方案,但遇到了同样的问题。

是否可以下载具体版本(12.0.21005.1),看看能否顺利打开解决方案?

或者是否有可能从 Visual Studio 和迁移报告的信息中知道该怎么做?

或者我使用的社区版本是否可能导致这些问题?

【问题讨论】:

    标签: visual-studio


    【解决方案1】:

    较新版本的 VS 不再支持安装项目。例如。: https://blogs.msdn.microsoft.com/buckh/2011/03/17/visual-studio-setup-projects-vdproj-will-not-ship-with-future-versions-of-vs/

    至于 OutlookAddIn 项目,我猜你需要一些额外的 VS 插件?

    【讨论】:

    • 谢谢先生!连同您提供的链接和 Web 开发人员工具(显然包括 Office 开发人员工具)一起使它工作。
    • 从文章中可以使用 VS 扩展来解决这个问题。 marketplace.visualstudio.com/…
    猜你喜欢
    • 1970-01-01
    • 2020-09-24
    • 2015-07-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-26
    • 2018-10-17
    相关资源
    最近更新 更多