how i build standalone exe files on .NET framwork?, visual studio 2019

ILoveC# 1 Reputation point
2022-05-17T08:51:27.867+00:00

I have Visual Studio 2019 Community. I try to create a stand-alone executable out of a .NET Framework project. but when i build it its show the dll files like: siticone.dll guna.dll
is there a way to fix it?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,109 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 40,156 Reputation points
    2022-05-17T08:54:56.78+00:00

    Which type is your project? When you get DLL, then you may started a library project; that are not executables.

    You have to start a project of type WinForm or WPF application.
    https://learn.microsoft.com/en-us/visualstudio/extensibility/internals/project-types?view=vs-2022

    0 comments No comments

  2. ILoveC# 1 Reputation point
    2022-05-17T09:05:37.823+00:00

    my project is Windows Form Apps (.NET framework)

    0 comments No comments