如何通过VS 2005命令行添加DLL引用? [英] How to add DLL reference through VS 2005 command line ?

查看:280
本文介绍了如何通过VS 2005命令行添加DLL引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试自动化构建过程,这需要一个项目添加一个DLL引用。如何通过命令行执行此操作?

I am trying to automate build process which needs a project to be added a DLL reference. How do I do it through command line ?

推荐答案

如果您使用的是C#,则需要使用此命令:csc /reference:mylibrary1.dll / reference: mylibrary2.dll mycsfile.cs
If you're using C#, then you need to use this: csc /reference:mylibrary1.dll /reference:mylibrary2.dll mycsfile.cs


这篇关于如何通过VS 2005命令行添加DLL引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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