How can you compile a .NET Project without using Visual Studio?

  • We can compile .NET Framework projects without using Visual Studio on the Command Line using csc.exe file.
  • We can supply additional arguments to csc.exe, in-addition to the csproj file of the .NET project.
  • In .NET Core, we use the dotnet build command on the command-line which can build the csproj without using Visual Studio.

C# Concepts Posted Mar 25, 2021

You can now show your support. 😊

We use cookies to provide you with a great user experience, analyze traffic and serve targeted promotions.   Learn More   Accept