F
F
Festelo2016-12-15 00:27:16
.NET
Festelo, 2016-12-15 00:27:16

How to hide .NetCore console application window?

How to create and run a .NetCore console application without a console?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rou1997, 2016-12-15
@Rou1997

In the project properties, set up the subsystem (subsystem) - Windows (GUI), in extreme cases, you can simply correct the header entry in the EXE file using a HEX editor, help on the PE (EXE) format is available on the Internet.

M
Melz, 2016-12-15
@melz

You need Self-contained deployments (SCD) . If I understand you correctly.
Edit project.json to have runtimes and get an exe for each platform. Remove something, etc. Everything is in the link.

"runtimes": {
    "win10-x64": {}
  }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question