Search code examples
visual-studio-extensions

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


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?


Solution

  • 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.