How do I run a .NET file from command prompt?

Lan Anh

New member
How do I run a .NET file from command prompt?
Answer
If it’s a framework-dependent application (the default), you run it by dotnet yourapp. dll . If it’s a self-contained application, you run it using yourapp.exe on Windows and ./yourapp on Unix.
 

Tìm kiếm

Back
Top