开发者

How to add an assembly reference at compile time for vbproj or csproj files?

Is it possible to do 开发者_StackOverflow社区this?


Not sure I understand the question, but can't you just use the following: http://msdn.microsoft.com/en-us/library/s5bac5fx(VS.80).aspx

Assuming you are building from Visual Studio, you can add these arguments through project properties


If you want to access an assembly that's not specifically referenced in your project, you can use the System.Reflection namespace. This won't actually add a reference to your project file, but it will enable you to use other assemblies.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜