This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to change the output from application to library?



I have an application project. Now I want to build it as a library. How can I change the output type from "Executable" to "Static Library"?

When I go to Properties->general, the output type is shaded out and doesn't allow me to make change.

 

Thanks.

  • You cannot change an existing project set to "Executable" output type to "Static Library". You would need to create a new project of "Static library" output type and copy the files/settings from the original project into the new one.