Click here to Skip to main content
Licence 
First Posted 23 Nov 2003
Views 52,928
Bookmarked 11 times

CSC.EXE CMDLGen

By | 23 Nov 2003 | Article
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

About the Author

peter2713



United Kingdom United Kingdom

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralNAnt is great at this PinmemberTorben Rohde23:07 29 Aug '04  
GeneralGood idea but poorly done Pinmemberdog_spawn11:43 24 Nov '03  
GeneralRe: Good idea but poorly done PinmemberDavid Sehnal20:10 24 Nov '03  

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

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

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 24 Nov 2003
Article Copyright 2003 by peter2713
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid