Showing posts with label C# Compiler. Show all posts
Showing posts with label C# Compiler. Show all posts

Sunday, November 8, 2015

How do you open a C# compiler prompt in Windows 10?


I assume you have installed Visual Studio 2015 Community. If this is correct, when you installed Visual Studio 2015 Community you also installed VS 2015 x86 Native Tools command prompt. This will be in your Program Files(x86) directory. Just double click this and type in CSC at command prompt as shown:


Compiler0.png

You can type in the command for help and get all the related information:

Please note the next two screen shots are for yet another version of the compiler(an earlier version)

Continued

Tuesday, January 27, 2015

Where do I find the C# Compiler on my computer?


The C# compiler CSC.exe is found here:
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe

This is on a Windows 8.1 Professional machine.

In any case search in this folder by changing the directory as shown below
C:/ cd %Windir%/Microsoft.NET/Framework

You may find more than one Framework on your computer
The one shown in the beginning of this post is for version 4.0.30319