question

89775376 avatar image
0 Votes"
89775376 asked RLWA32-6355 answered

the setup file does not create an executable file in Windows Forms Application (C#)

the setup file which i created in the solution does not generate an exe file after installation in windows forms application c#. it creates a dll file that windows doesn't allow to open. i have the microsoft vs installer projects extension, i can make a setup project, i can make a project output but the problem comes here. when i right click > add > project output > primary output > ok > right click on the file > outputs, it shows only a dll file and a json file, but no exe file. and that is the final result after the installation.


[1]: /answers/storage/attachments/145804-problem.jpg


can anyone please help, i was just making a simple tic tac toe game

dotnet-csharp
problem.jpg (159.5 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Consider trying the following installer project (unless this is what you are using now) which I use and never had any issues with.


0 Votes 0 ·

@karenpayneoregon i have this installed already

0 Votes 0 ·

1 Answer

RLWA32-6355 avatar image
0 Votes"
RLWA32-6355 answered

Sounds like you are creating a .Net application (not .Net Framework). See the guidance here for installer projects -- https://docs.microsoft.com/en-us/visualstudio/deployment/installer-projects-net-core?view=vs-2019


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.