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

Arunabh Rakshit 1 Reputation point
2021-11-02T13:36:57.57+00:00

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.

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

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,247 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 40,286 Reputation points
    2021-11-02T15:53:23.09+00:00

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

    0 comments No comments