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

How to compile?

P: n/a
He
I have netframework installed on my system. I created a folder "test" on my C:\ drive. I have a file named "Hello.cs" saved in that directory "C:\test" . Please let me know how to compile this Hello.cs file. I am new to C#.
Thanks

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


P: n/a
In article <AA**********************************@microsoft.co m>,
an*******@discussions.microsoft.com says...
He!
I have netframework installed on my system. I created a folder "test" on my C:\ drive. I have a file named "Hello.cs" saved in that directory "C:\test" . Please let me know how to compile this Hello.cs file. I am new to C#.
Thanks.


If you only have the .NET Framework, you only have what is required to
run .NET applications. If you want to develop/compile .NET apps, you'll
need the .NET SDK which includes the C# compiler (csc.exe) as well as
the VB.NET compiler (vbc.exe):

http://www.microsoft.com/downloads/d...9B3A2CA6-3647-
4070-9F41-A333C6B9181D&displaylang=en

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 16 '05 #2

P: n/a
Patrick Steele [MVP] <pa*****@mvps.org> wrote:
If you only have the .NET Framework, you only have what is required to
run .NET applications. If you want to develop/compile .NET apps, you'll
need the .NET SDK which includes the C# compiler (csc.exe) as well as
the VB.NET compiler (vbc.exe):


No, the framework includes both of those already. You can compile
VB.NET and C# with just the framework installed. Just put the
appropriate directory (eg c:\WINDOWS\Microsoft.Net\Framework\v1.1.4322)
on the path, and run csc.exe to see the options.

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

P: n/a
I have a getting started page which lists how to get going without VS net
here http://www.publicjoe.f9.co.uk/csharp/csharp01.html. This includes
everything to download including a free IDE called sharpdevelop

Also a bit about command line compiling here
http://www.publicjoe.f9.co.uk/csharp/cs04b.html

and finally how to hack VC6( if you have it) to edit and compile C#
applications here
http://www.publicjoe.f9.co.uk/csharp...l/hacking.html

Hope this helps

Publicjoe
C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html
C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html
"Fayyaz" <an*******@discussions.microsoft.com> wrote in message
news:AA**********************************@microsof t.com...
He!
I have netframework installed on my system. I created a folder "test" on my C:\ drive. I have a file named "Hello.cs" saved in that directory
"C:\test" . Please let me know how to compile this Hello.cs file. I am new
to C#. Thanks.

Fayyaz

Nov 16 '05 #4

P: n/a
In article <MP************************@msnews.microsoft.com >,
sk***@pobox.com says...
No, the framework includes both of those already. You can compile
VB.NET and C# with just the framework installed. Just put the
appropriate directory (eg c:\WINDOWS\Microsoft.Net\Framework\v1.1.4322)
on the path, and run csc.exe to see the options.


Interesting. Now I want to dig into the SDK and see what the extra 100
megs is for... :)

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 16 '05 #5

P: n/a
Thank you
Fayyaz
Nov 16 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.