Compile and run simple .NET Code, and inspect the generated MSIL.
Pre-requisite: Windows SDK (the tool needs ILDASM.EXE).
This version works for .NET Framework 4.6 (the version that matches Visual Studio 2015).
This version compiles C# 6.0 (C# Roslyn 1.0) code.
Be aware of the following distinction, from my VS2015 Enterprise installation:
This is C# 6.0 (C# Roslyn 1.0):
C:\Program Files (x86)\MSBuild\14.0\Bin\csc.exe
Microsoft (R) Visual C# Compiler version 1.0.0.50618
Copyright (C) Microsoft Corporation. All rights reserved.
This is C# 5.0:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
Microsoft (R) Visual C# Compiler version 4.6.0081.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
Pre-requisite: Windows SDK (the tool needs ILDASM.EXE).
This version works for .NET Framework 4.6 (the version that matches Visual Studio 2015).
This version compiles C# 6.0 (C# Roslyn 1.0) code.
Be aware of the following distinction, from my VS2015 Enterprise installation:
This is C# 6.0 (C# Roslyn 1.0):
C:\Program Files (x86)\MSBuild\14.0\Bin\csc.exe
Microsoft (R) Visual C# Compiler version 1.0.0.50618
Copyright (C) Microsoft Corporation. All rights reserved.
This is C# 5.0:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
Microsoft (R) Visual C# Compiler version 4.6.0081.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240