Closed jamespharvey20 closed 7 years ago
Got past this. Removed reference to "Microsoft.VisualStudio.Shell.12.0", added ".15.0". Added reference to "Microsoft.VisualStudio.Shell.Framework". Right clicked "ShortcutExporter", and in properties, set Target framework to .NET Framework 4.6.2 rather than 4.5. Again, I've never worked with C# before, so this could be the wrong way.
You need the lowest version of VS installed that the extension targets. In this case VS2013. This is how it works for extension projects that supports anything earlier than VS2015
I ran into 2 issues compiling with (not merely installing onto) VS2017 RTM+1 (26228.9).
(1) Building from git master gives multiple errors like
... Also for EnvDTE80, EnvDTE90, EnvDTE100, and Microsoft.VisualStudio.CommandBars
Apparently there's a breaking change in VS2017. See: https://developercommunity.visualstudio.com/content/problem/15434/cannot-find-wrapper-assembly-for-type-library-envd.html
Following those instructions, removing the COM references, and adding references to assemblies/extensions for these 5 gets passed this issue.
(2) But, then, these 11 errors occur. I've never used C# before so am out of my element.