Debug Target Is Missing?

后端 未结 19 2231
南笙
南笙 2020-11-27 20:24

When I try to build my solution, I get the following error:

Visual Studio cannot start debugging because the debug target \'c:\\target\' is missing. P

19条回答
  •  时光取名叫无心
    2020-11-27 21:28

    I had this error too (in VS2010), and in my case (two projects in one solution, with one being for unit tests) the answer was to go into the solution's (not the project's) properties and set a single startup project. I would've thought it also necessary, in that project's settings, under Application, to specify the "Startup Object", but it's working for me with or without that.

提交回复
热议问题