A project with output type of class library cannot be started directly - with a startup exe

后端 未结 9 822
南方客
南方客 2020-12-20 11:38

Firstly I\'m completely aware of this message and why it happens normally. It\'s not that I\'m just trying to run a dll (like this question).

I have a project that c

9条回答
  •  -上瘾入骨i
    2020-12-20 12:06

    If you plan to use/create/add extra dll's or just have more than one project in your solution, you may get this kind of problem, especially if you forgot a simple rule: 1. In your "Solution Explorer" window. Right click and chose "Set StartUp Projects..." 2. Under "Start Up Project" select and change "Single startup project" to your working entity.

提交回复
热议问题