Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone please guide me how can I convert Add-Ins to VSPackage Extention without recreating/replicating everything into VSIX?

I have one addin which is supporting VS2010 to VS2013. I have everything in .sln. I want to migrate/create .addin into .vsix for compatibility issue of VS2015.

What I have tried:

After few research, I have found that the code what is written in IDTCommandTarget.Exec method has to run into my custom command class of vsix project...

FAQ: Converting Add-ins to VSPackage Extensions

So, I created a new .vsix project in same solution & add a reference of my .addin project into .vsix project but its giving me following error...

An exception of type 'System.IO.FileLoadException' occurred in GForgeVSIX.dll but was not handled in user code
Additional information: Could not load file or assembly 'GForgeTrackerAddIn, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Posted
Comments
Richard Deeming 10-Mar-16 5:56am    
"A strongly-named assembly is required."

So give the assembly a strong name.

Strong-Named Assemblies[^]
How to: Sign an Assembly with a Strong Name[^]
Ishan Malik 11-Mar-16 2:40am    
Thanks...its working now

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900