I searched for this, and there are a number of previous answers, but they all seem too complicated.
I am new to C # and Windows development in general (previous Mac developer).
I wrote a simple console application in C # using the version of Visual Studio Community. My application uses two third-party libraries (CommandLineParser and json.NET) added to my project using NuGet from VS.
All I want to do is build my project as a standalone .exe file that you can simply run from the command line without worrying about the end user having to install a lot of DLLs (something that I donβt use to deal with a new user Windows). I understand that the end user must have the .NET platform installed. Is there any idiotic proof of a guide for creating a single .exe file in my use case?
I cannot help but think that this should be a very common problem.
Thanks.
Garry source share