0

I have a console application that does basic output and calculations. I am trying to create the application and have just a .EXE file that you can open and use the application. I have tried publishing it in visual studio and just get a lot of dll files with a exe that has to be in the same folder?

Any help?

Jaybizl
  • 23
  • 5
  • 3
    For .net core see https://stackoverflow.com/q/44074121/1260204 as possible duplicate – Igor Nov 21 '19 at 15:43
  • You could have choosed "Console App (.Net Framework)" when creating new project, there would be exe-file inside Bin folder, which you can simply copy. This is assuming it's *basic* (e.g. no nugets). – Sinatr Nov 21 '19 at 16:05

1 Answers1

-3

After building the project, a "bin" directory is created in the project folder. There is a subfolder for "Debug" and "Release", depending on the build configuration you chose. In that folder there is your .exe file which you can copy and pass around like any executable.

Roy
  • 20
  • 3