How to -> Visual Studio Add In Manager

心已入冬 提交于 2019-12-17 22:18:37

问题


How do I use the Add-In Manager in Visual Studio? Here is the problem and solution.

I want to add this SmartPaster addin and need to get these 3 files listed in the Add-In Manager dialog?

  1. SmartPaster2010.AddIn
  2. SmartPaster2010.dll
  3. SmartPaster2010.xml

Edit: Microsoft Add-In Registration says:

To install the add-in on another computer, the .addin file must be placed in a location where Visual Studio checks for add-ins. These locations are listed in the Options dialog box, in the Environment node, on the Add-in/Macros Security page.

I went to Tools > Options > Environment > Add-In/Macro Security, checked some paths put the AddIn files in a couple of these directories, restart VS2010 but still no luck!


回答1:


I had a similar issue, but it was that I was trying to use a VS Addin that was made for VS 2008.

Even with the new folder added, it wasn't picking it up in vs 2010.

By making a copy of the vs addin, and editing the .addin file, changing 9.0 to - you guessed it... 10.0... it works :) lol




回答2:


Make a folder called "C:\VisualStudioPlugins"

Open up Visual Studio > Tools Menu > Options > Environment > Add-In/Macro Security > Add the path "C:\VisualStudioPlugins"

Restart Visual Studio and the add-in is listed!

ps I didn't know the answer before I asked the question and hope it helps the .Net community.




回答3:


The product didn't come with installation instructions?

It sounds like you can probably just put the files into %DOCUMENTS%/Visual Studio 2010/Add-Ins (where %DOCUMENTS% is your documents folder, where VS likes to shove stuff by default) and reboot VS. But that's just a guess.



来源:https://stackoverflow.com/questions/4653436/how-to-visual-studio-add-in-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!