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

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Reply


x

Interesting BlogPosts to read

How to get an Enumerator from range of elements from ArrayList in C# ?
The code snippet shown in this blog post demonstrates how you can get the enumeraor from a range of ...
How to check for the column name in an SqlDataReader Object in C# ?
When working in ADO.NET for data access , there are times when you want to check to see if a column ...
How to perform Shallow Copy in C# ? by @abundantcode
To perform Shallow copy in C# , you can use the this.MemberwiseClone() method. How to perform Shall...