Click here to Skip to main content
15,895,746 members
Articles / Programming Languages / C#
Article

CSC.EXE CMDLGen

Rate me:
Please Sign up or sign in to vote.
3.60/5 (5 votes)
23 Nov 2003 61.5K   1.4K   11   3
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


Written By
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralNAnt is great at this Pin
Torben Rohde29-Aug-04 23:07
Torben Rohde29-Aug-04 23:07 
GeneralGood idea but poorly done Pin
dog_spawn24-Nov-03 11:43
dog_spawn24-Nov-03 11:43 
GeneralRe: Good idea but poorly done Pin
peter271324-Nov-03 20:10
peter271324-Nov-03 20:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.