Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

CSC.EXE CMDLGen

0.00/5 (No votes)
23 Nov 2003 1  
Simple utility for generating csc.exe command line options

Sample Image - csccmdlgen.jpg

Introduction

CMDLGen is an utility for creating .bat for compiling C# projects in arbitrary .NET version. I have VS.NET 2002 and I'm not willing to buy 2003, because I can select .NET version when compiling (I see no other reason why I should buy it...). So I decided to write this small utility.

Well, it's not very user friendly. However if you have an 80-source-files project structured into folders, it's much more pleasant than writing them all down by hand. You must also specify full paths to all the resources. But you only have to do that once since you can save your CMDLGen "project".

All that the utility does is that it creates a .bat file for csc.exe. Each time you add/remove any files from your project, you must re-create this .bat file. The utility is not fool-proof. You must be careful using it. I have tried to compile just one of my projects using this utility and it worked. Anyway, if you find a bug, please e-mail me so I can fix it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here