Upgrade an ancient VS extension to 2019

  • Thread starter Thread starter ygoe
  • Start date Start date
Y

ygoe

Guest
I've once written an extension for Visual Studio. Well, copied and hacked it together. I never quite understood how that works. But it's very useful and I don't want to miss it. I also want to see it in the VS gallery again so it needs to be upgraded to the latest standards. The extension officially supports VS 2010 to 2015, since then everything has changed. The manifest file format is completely new, and it seems like none of the packages, references and classes are known anymore.

The extension does work fine in VS 2017, and I'm sure it would still work in VS 2019 if I just incremented the version number. But the VS gallery won't even let me upload it. So installing it in VS 2017 is already a manual process with a warning showing up.

Here's the page with a link to the source code: https://marketplace.visualstudio.com/items?itemName=ygoe.TODOHighlighter

Can somebody please give me guidance what I need to do to rewrite this with today's tools? I've opened VS 2019 and created a new VS extension project. It looks completely different to my old project. Nothing to compare. And copying in the old files (just two short source files) gives me errors of missing types. So that's doesn't lead me anywhere. I also don't know what to use the new generated file for, TodoHighlighterPackage.cs. It contains long comments I don't understand.

Continue reading...
 
Back
Top