7
Answers

why compiling Console project with Build / Publish?

Photo of Valerie Meunier

Valerie Meunier

3y
868
1

Hi,

A Console (or windows forms) project can be compiled via menu Build / Publish ... in Visual Studio (2019). But in directory Bin / Debug on disc of the project, there is already an .exe file (e.g. myproject.exe). The method (Publish) must be installed, creates more files (. exe, .application, autorun.inf ...) and cannot be moved easely on disc. So why should i use Buid /Publish whereas i have already an .exe file which can be moved eveywhere ? Is there a difference between both compiling?

Thanks.

Answers (7)