Monday, 28 January 2013
Using WSPBuilder with Visual Studio 2012
The context menu in WSPBuilder has always proved useful, allowing easy GAC deployment of code changes within a DLL and fast IIS debugging. The latest version of WSPBuilder is aimed at Visual Studio 2010 and so if it is needed for Visual Studio 2012, the .addin file needs updating to tell Visual Studio that it is supported by the current version - 11.
If you execute "%ALLUSERSPROFILE%\Application Data\microsoft\MSEnvShared\Addins", you should see the WSPBuilder addin file listed. Simply edit this in notepad (remember to 1) close visual studio and 2) run notepad as admin) and duplicate the two hostapplication nodes - "Microsoft Visual Studio" and "Microsoft Visual Studio Macros", amending the version to "11.0". Once this is done, you will find that the add-in loads and the context menu will appear. If you are only intending to use Visual Studio 2012 you could, instead, just update any of the nodes from their existing version to "11.0".
One caveat is that, at least in Windows Server 2012+SharePoint 2013, the "Recycle Services Timer" option does not work. If I get the chance I will fix this and post an update - it's probably something simple.
Subscribe to:
Post Comments (Atom)
Hi George,
ReplyDeleteThanks for your guide. This trick helps for me
Hi George,
ReplyDeletevery, very helpful.
Thanks, this worked for me.
ReplyDeleteI have Windows 2012 and its not able to find the given path, i dont have APPLICATION data??
ReplyDeleteYou don't have permission or change folder options to find hidden files.
DeleteAwesome. Thanks
ReplyDeleteCheck following path for windows server 2012 if you not able to find addin file in above mentioned path. Enable search option for hidden files in win. explorer.
ReplyDeleteC:\ProgramData\Application Data\microsoft\MSEnvShared\Addins
DeleteYou rock Viral....
DeleteHi George!
ReplyDeleteDo you still have that solution for WSPbuilder, which can work with .net framework 4?