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.

Sachin SinghRank #66 · 26.2K reputationPosted Jan 8, 2022, 11:26 AM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Jan 7, 2022, 10:07 PM EST
Valerie MeunierRank #1,526 · 1K reputationPosted Jan 8, 2022, 4:43 AM EST
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jan 8, 2022, 8:21 AM EST
Rijwan AnsariRank #82 · 24.2K reputationPosted Jan 8, 2022, 11:02 AM EST
Valerie MeunierRank #1,526 · 1K reputationPosted Jan 8, 2022, 11:14 AM EST
Ranganath PrasadRank #2,004 · 725 reputationPosted Jan 8, 2022, 2:21 PM EST