Any way to convert class library function into exe?

c#, visual-studio

Solution

In the properties of the project -> application tag, change the Output type to console Application. Anyway, you need to create a `static Main()` method as a starting point.

    static void Main(string[] args)
    {
    }

Problem

Is there any way to change my class library program into an `.exe` or a click once-application? It is Currently a dll. I am able to create a click once app but it is not working after installation.

Original source