Valerie Meunier

Valerie Meunier

  • 1.7k
  • 335
  • 10k

why compiling Console project with Build / Publish?

Jan 8 2022 12:49 AM

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)