A
A
ArsenBor662018-12-01 21:33:49
.NET
ArsenBor66, 2018-12-01 21:33:49

How to run Console Application (.NET Core) on windows like an application i.e. not through the studio?

How to run Console Application (.NET Core) on windows like an application i.e. not through the studio?
.exe file is not there. Help.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
ArsenBor66, 2018-12-03
@ArsenBor66

In cmd I went to the folder with .csproj and entered dotnet run your-programm-name.dll

M
Mikhail Ushakov, 2018-12-02
@Mo__Ro

You can
dotnet publish -r win-x64
and you will have an Exe file.
https://docs.microsoft.com/en-us/dotnet/core/tools...

M
mefutu, 2018-12-01
@mefutu

Go to cmd, go to debug/release folder. In cmd type:
dotnet run your-programm-name.dll

A
Alexander, 2018-12-01
@alexr64

No exe, yes. dotnet appname.dll
Or here
is the official manual

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question