Try publishing the .net 5 app if you want an exe.
https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I created a win form app in C# and added the Setup Project to the app. I added the primary output to the application folder in the file system of the Setup Project. But when I right click the primary output and click on Outputs, it shows these two files:
Mycalc.dll and Mycalc.runtimeconfig.json instead of .exe and .exe.config. Installing the application also installs the application as .DLL instead of .EXE. Pls help! I couldn't find anything that can help me in the web. My Project is .net 5.0
Try publishing the .net 5 app if you want an exe.
https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file