开发者

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

开发者 https://www.devze.com 2023-01-24 05:48 出处:网络
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

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

精彩评论

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