RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: .NET
Expertise: Beginner
Jun 7, 2006



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Specify Default Reference Assemblies for Command Line Compilation in .NET

For command-line compilation in .NET, you can reference other assemblies by using the /reference or /r option on the command line. But when you have to specify many assemblies, the list becomes too long. Because you have to specify these assemblies everytime you perform command-line compilation, it's better to specify all your default reference assemblies at one time.

You can do this for C# in the csc.rsp file, and for VB.NET in the vbc.rsp file. You'll find both files in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 folder. The compiler processes all the assemblies you specify in this file for every compilation by the C# or VB.NET compiler, eliminating the need to specify that long list of assemblies at the command prompt.

Vishant Patel
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date