Click here to Skip to main content
6,293,171 members and growing! (11,928 online)
Email Password   helpLost your password?
Languages » C# » General     Intermediate

CSC.EXE CMDLGen

By Dave Sehnal

Simple utility for generating csc.exe command line options
C#.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, Dev
Posted:23 Nov 2003
Views:48,251
Bookmarked:9 times
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
4 votes for this article.
Popularity: 1.77 Rating: 2.94 out of 5

1
1 vote, 25.0%
2
2 votes, 50.0%
3

4
1 vote, 25.0%
5

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

Dave Sehnal


Member
David's student at Masaryk University in Brno, Czech Republic
Occupation: Researcher
Location: Czech Republic Czech Republic

Other popular C# articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 3 of 3 (Total in Forum: 3) (Refresh)FirstPrevNext
GeneralNAnt is great at this PinmemberTorben Rohde0:07 30 Aug '04  
GeneralGood idea but poorly done Pinmemberdog_spawn12:43 24 Nov '03  
GeneralRe: Good idea but poorly done PinmemberDavid Sehnal21:10 24 Nov '03  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 23 Nov 2003
Editor: Nishant Sivakumar
Copyright 2003 by Dave Sehnal
Everything else Copyright © CodeProject, 1999-2009
Web18 | Advertise on the Code Project