L Lan Anh New member Jan 12, 2022 #1 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.
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.