Wiki
Version 5 (modified by Charles, 12 years ago)

--

Microsoft .NET

.NET 4.0

C# Compiler

On .NET, Cobra generates C# source code for various benefits. You can experiment with different C# compilers if you like:

cobra -c -d -native-compiler:C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe  foo.cobra

On a Windows 7 box, in 2011-02, a search for "csc.exe" yielded:

C:\Microsoft.NET\Framework\v2.0.50727\csc.exe
C:\Microsoft.NET\Framework\v3.5\csc.exe
C:\Microsoft.NET\Framework\v4.0.30319\csc.exe
C:\Microsoft.NET\Framework64\v2.0.50727\csc.exe
C:\Microsoft.NET\Framework64\v3.5\csc.exe
C:\Microsoft.NET\Framework64\v4.0.30319\csc.exe

See also