Home All Groups Group Topic Archive Search About

How do I compile a C# program?

Author
19 May 2006 8:37 AM
Ikke
Hi all,

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

Thanks,

Ikke

Author
19 May 2006 8:57 AM
Vadym Stetsyak
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
Are all your drivers up to date? click for free checkup

Author
19 May 2006 12:26 PM
Nick
There is a free version of Visual Studio (Express) available on the
Microsoft website.
Author
19 May 2006 1:01 PM
Ikke
"Nick" <m***@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.
Author
19 May 2006 1:22 PM
Marc Gravell
You've already been told that csc is the answer, so:

http://www.google.com/search?q=using+csc
Author
19 May 2006 1:31 PM
Ikke
"Marc Gravell" <marc.grav***@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.
Author
19 May 2006 2:52 PM
Marc Gravell
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
Author
22 May 2006 7:11 AM
Ikke
"Marc Gravell" <marc.grav***@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.
Author
22 May 2006 7:50 AM
Vadym Stetsyak
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/microsoft.public.dotnet.languages.csharp/browse_thread/thread/74508118b27ffb3a/aa31f6d2b16732d3?lnk=st&q=How+do+I+compile+a+C%23+program&rnum=2&hl=uk#aa31f6d2b16732d3


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Bookmark and Share