Live Chat Icon For mobile
Live Chat Icon

How to convert an application project to class library project, and vice versa

Platform: WinForms| Category: Tips

In the Solutions Explorer window, right-click the exe project and then select Properties in the popup. Then change the Output type from Windows Application to Class Library. You may also want to comment out the Main method in your code as it is not needed in the library project.

To convert from a DLL to and exe, reverse the process.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.