How can I use CSC.EXE (.NET Framework Executable) to compile C# code into executables or libraries? CSC Syntax

A

Abdulqadir Aliyev

Hello. Recently I was trying to find out how do I compile my .CS file (C# File with C# Code) into an EXE or DLL file for my program. I asked some of my friends in case they know, they told me to use csc (.NET Framework Feature). It is located in C:\Windows\Microsoft.NET\Framework\*system dotnet framework version*\csc.exe -- Visual C# Command Line Compiler.I tried to run CSC.EXE from its own path in CMD, but I got nothing that useful... (I was using no arguments)Can anyone provide the usage of csc.exe, for operations like compiling a C# file into a library or executable?Note: There are no syste

Continue reading...
 
Back
Top Bottom