将DLL引用添加到visual studio宏 [英] Add DLL reference to visual studio macros

查看:318
本文介绍了将DLL引用添加到visual studio宏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在visual studio中创建很多宏,probelem是我不知道visual basic的那个好。



我一直在做的是:


创建算法代码我打算在控制台
应用程序上使用C#。我编辑它,然后将其与



....将您的程序集复制到



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



(根据需要更改路径中的Visual Studio版本号)



相关链接:




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...

解决方案

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:

这篇关于将DLL引用添加到visual studio宏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆