I downloaded and installed the .net framework 4.0, but I didn't install VS 2010, because VS 2010 require the high-performance computer hardware. I have no but I expect to taste the C# 4.0 feature.
+4
A:
you need the .net 4.0 compiler, which at the moment is only available with vs2010.
This thread might answer your question http://stackoverflow.com/questions/591726/where-i-can-download-compiler-for-c-4-0-without-visual-studio-2010
Marcom
2009-05-21 12:00:33
I wasn't sure about that, good catch Marcom!
Lazarus
2009-05-21 12:03:43
The thread you provided can't solve my question.
2009-05-21 12:28:23
@bruce If you have installed framework 4.0 then you should be able to compile C# code using the C# complier in the 4.0 framework folder but you will have to using command line.
Nathan W
2009-05-21 12:31:43
Really? I will try to do it following your advice. Thanks.
2009-05-21 13:59:34
+1
A:
The .NET framework client profile includes the compiler (csc.exe). For example, on my machine, it's at:
c:\Windows\Microsoft.NET\Framework64\v4.0.20506\csc.exe
The 32-bit version is at:
c:\Windows\Microsoft.NET\Framework\v4.0.20506\csc.exe
If you're familiar with the command-line compiler syntax, most applications can be written just using it, notepad and referencing the appropriate assemblies. It won't be a terribly pleasant experience though.
Barry Kelly
2009-05-21 14:04:54