Add DLL reference to visual studio macros

不想你离开。 提交于 2019-12-24 15:09:56

问题


I need to create a lot of macros in visual studio the probelem is I do not know visual basic that good.

What I have been doing so far is:

Create the algorithm "Code" I plan to use on C# on a console application. I complile it then decomplite it with reflector into visual basic.

When I decompile the code I lose the comments plus sometimes I have to refer back to the code and it becomes hard to manage.

I am tired of compiling and decompiling plus I have to make a few twick every now and then. I will like to create a service or library that I could reference somewhere through:

When I right click on reference and select add reference there is no way of selecting my own custom dll. Maybe there is a way of referencing the dll through code.

What I been trying to do is trying to register the dll so that my dll would appear in:

If I manage to register the dll it will be easier to supply my macros to other people...


回答1:


Your answer might be here...

http://social.msdn.microsoft.com/Forums/is/vsx/thread/7b5d4c41-3a05-4a82-9a7d-aa6266fdbd25

....copy your assembly into

C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies

(change the Visual Studio version number in the path as appropriate)

Related links:

  • C# for writing macros in Visual Studio?


来源:https://stackoverflow.com/questions/11640222/add-dll-reference-to-visual-studio-macros

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