Visual Studio project build as an executable AND a DLL

后端 未结 5 1487
清酒与你
清酒与你 2021-01-02 03:08

In Visual Studio 2008 project properties, Application tab, I can set the Output type to Windows Application, Console Application, or Class Library. I have a project that I w

5条回答
  •  忘掉有多难
    2021-01-02 03:51

    I think the simplest solution is to build as a EXE and then have a post build action which copies the EXE into a DLL. There is no real difference between the two in .Net.

提交回复
热议问题