How to Find the Path to the C# Compiler in Visual Studio Command Prompt ?

If you wanted to get the path to the Microsoft .NET Framework’s csc.exe from Visual Studio Command Prompt , you can use the where command and specify the C# compiler (csc.exe).

How to Find the Path to the C# Compiler in Visual Studio Command Prompt ?

Follow the below steps to find the path of the C# compiler in the Developer Command Prompt for VS 2014.

1. Open the Developer Command Prompt for VS 2014.
2.  Use the command where csc.exe as shown below.

C:\Program Files (x86)\Microsoft Visual Studio 14.0>where csc.exe

This would display the path.

image

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

C# Compiler Error CS0442 – ‘Property’: abstract properties cannot have private accessors Reason for the Error You’ll get this error...
This is a really simple one . Below is a simple example of an enum called “Designation” defined with the...
This blog post explain the usage of the Checked Block in .NET and how you can use them in Visual...