By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,081 Members | 1,325 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,081 IT Pros & Developers. It's quick & easy.

Compile .cs files

P: n/a
I don't have Visual Studio, Is there an easy way to compile bunch of .cs
files at once? I have written several .cs files and put in the /bin folder
.... everytime I add a new file, I have to edit the batch file, it's kind
of annoying if the project grows bigger.

Is there any free tools out there that can automate this?

N.S.

Nov 16 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Do you want to compiler them into 1 assembly or many?

csc *.cs

will compile them into one - the result exe (in this case) will be names the same as the .cs file with Main() in it.

Regards

Richard Blewett - DevelopMentor

http://staff.develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<c3************@news04.bloor.is.net.cable.rogers.c om>

I don't have Visual Studio, Is there an easy way to compile bunch of .cs
files at once? I have written several .cs files and put in the /bin folder
... everytime I add a new file, I have to edit the batch file, it's kind
of annoying if the project grows bigger.

Is there any free tools out there that can automate this?

N.S.


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17/09/2004

[microsoft.public.dotnet.languages.csharp]
Nov 16 '05 #2

P: n/a
already tried shardevelop?

www.sharpdevelop.com

nice tool and freeware. some better ideas than VS.
hope it helps you.

greetz
NOSPAM schrieb:
I don't have Visual Studio, Is there an easy way to compile bunch of .cs
files at once? I have written several .cs files and put in the /bin folder
... everytime I add a new file, I have to edit the batch file, it's kind
of annoying if the project grows bigger.

Is there any free tools out there that can automate this?

N.S.


Nov 16 '05 #3

P: n/a
Thanks.. I only know about Web Matrix, but never use SharpDevelop.net This
SharpDevelop is awesome!!!! Thanks a lot!!!!!!!!!!!!!! it solves all my
compile problems.
"Massuda" <Ma*****@discussions.microsoft.com> wrote in message
news:DE**********************************@microsof t.com...
"NOSPAM" wrote:
Is there any free tools out there that can automate this?


http://www.sharpdevelop.net/OpenSource/SD/

Nov 16 '05 #4

P: n/a
NOSPAM <no****@xsagfgsagsafg.com> wrote:
I don't have Visual Studio, Is there an easy way to compile bunch of .cs
files at once? I have written several .cs files and put in the /bin folder
... everytime I add a new file, I have to edit the batch file, it's kind
of annoying if the project grows bigger.

Is there any free tools out there that can automate this?


One alternative not yet mentioned is NAnt:

http://nant.sf.net

It's a build tool fashioned after Ant, the Apache Jakarta project
written in Java.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #5

P: n/a
"NOSPAM" wrote:
Is there any free tools out there that can automate this?


http://www.sharpdevelop.net/OpenSource/SD/
Nov 16 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.