我有一个Visual Studio的自定义语言和调试编辑器扩展,我希望能够使用visual studio集成shell进行分发。
但是,我无法使用集成的shell应用程序打开自定义项目文件:
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.
- scripts, "F:\path\to\example.myproj"
No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- scripts, "F:\path\to\example.Example_sln"
当扩展程序直接作为visual studio 2015的一部分加载时,一切正常。
自定义项目类型是使用The Visual Studio Common Project System
创建的答案 0 :(得分:0)
感谢Github上的用户rodya0,我有an answer:
添加以下内容:
$ShellFolder$\Common7\IDE\CommonExtensions\Microsoft\Project; \
到隔离的shell项目中的.pkgdef文件的PkgDefSearchPath
部分