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

How do I compile a C# program?

P: n/a
Hi all,

Newbie here - can somebody please explain how I can compile a C# program?

Thanks,

Ikke
May 19 '06 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Hello, Ikke!

I> Newbie here - can somebody please explain how I can compile a C#
I> program?

You can do it either with cmd line ( csc.exe ) or with IDE ( Visual Studio or other IDE )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
May 19 '06 #2

P: n/a
There is a free version of Visual Studio (Express) available on the
Microsoft website.

May 19 '06 #3

P: n/a
"Nick" <ma**@nickbolton.co.uk> wrote in news:1148041565.862986.307760
@j33g2000cwa.googlegroups.com:
There is a free version of Visual Studio (Express) available on the
Microsoft website.


I don't use VS, so I'd like to be able to compile from the command line.

Any ideas?

Thanks.
May 19 '06 #4

P: n/a
You've already been told that csc is the answer, so:

http://www.google.com/search?q=using+csc
May 19 '06 #5

P: n/a
"Marc Gravell" <ma**********@gmail.com> wrote in news:OFGWOd0eGHA.5040
@TK2MSFTNGP03.phx.gbl:
You've already been told that csc is the answer, so:

http://www.google.com/search?q=using+csc


Nobody posted anything about csc - the only posts I see are yours and Nick.

Also, the reason I'm asking on usenet and not using Google, is because I
value human input. I'd like to find out the best tool, not just tool x.

Anyway, I'll check out csc. Thanks.
May 19 '06 #6

P: n/a
Vadym posted referring to csc; this command-line tool is part of the
framework itself, so will be on any PC with the CLR. Most other tools
(MSBuild etc) essentially use this under the bonnet. The syntax can get
long, so you'd generally wrap it in a build file, else use an MSBuild
compatible file - but that's back into VS territory...

Marc
May 19 '06 #7

P: n/a
"Marc Gravell" <ma**********@gmail.com> wrote in news:#8aGoP1eGHA.3484
@TK2MSFTNGP04.phx.gbl:
Vadym posted referring to csc; this command-line tool is part of the
framework itself, so will be on any PC with the CLR. Most other tools
(MSBuild etc) essentially use this under the bonnet. The syntax can get
long, so you'd generally wrap it in a build file, else use an MSBuild
compatible file - but that's back into VS territory...


Ah. As far as I can see, there is no post of somebody called Vadym in this
thread...

Still, I'll have a look at csc.

Thanks.
May 22 '06 #8

P: n/a
Hello, Ikke!

??>> Vadym posted referring to csc; this command-line tool is part of the
??>> framework itself, so will be on any PC with the CLR. Most other tools
??>> (MSBuild etc) essentially use this under the bonnet. The syntax can
??>> get long, so you'd generally wrap it in a build file, else use an
??>> MSBuild compatible file - but that's back into VS territory...

I> Ah. As far as I can see, there is no post of somebody called Vadym in
I> this thread...

Watch for word wrap

http://groups.google.com.ua/group/mi...31f6d2b16732d3


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
May 22 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.