Is it possible to write VS extensions using the SDK style projects?

时间秒杀一切 提交于 2019-12-13 04:34:50

问题


VS by default creates a legacy style project. I started manual migration, but then it fails to recognize the COM interop references for EnvDTE...

Is it possible at all?


回答1:


Is it possible at all?

It's possible as I know. For now, there's no any official document or blog which describes the steps about how to migrate a vsix project from old csproj format to new sdk-format,but at least it's a possible thing.

We may need some msbuild hacks to make it possible, here's one great open-source extension VsVim from JaredPar that has done this trial. Thanks to him!. I think you could get some useful info from this sdk-format project file.

In addition: Though it's possible, it's not recommended to do the migration before sdk-format vsix project is officially supported. Someone who does this may lose some UI features in Project=>Properties during vsix development.



来源:https://stackoverflow.com/questions/58917250/is-it-possible-to-write-vs-extensions-using-the-sdk-style-projects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!