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

后端 未结 9 838
南方客
南方客 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条回答
  •  情书的邮戳
    2020-12-20 12:16

    Another colleague suggested it's because after clicking Debug > Start new instance, while I'm waiting for it to start up, I click on a different project. I don't do it for any reason, just randomly selecting things as I wait for the project to start up. Maybe Visual Studio looks at the selected project sometime after I clicked the menu, gets confused, and shows the error message?

    Anyone able to confirm this matches their experience?

提交回复
热议问题