Debug Target Is Missing?

后端 未结 19 2146
南笙
南笙 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:23

    Please follow the below steps to overcome this problem:

    1. If you are working with VS2010, change platform target to x64
    2. Select .net framework as 3.5
    3. If you are using any custom code for Sharepoint and like to debug or deploy the use the above....and my bad sake i dont abt the .net applications
    0 讨论(0)
  • 2020-11-27 21:24

    I've had the same problem;

    Here are solutions that didn't work for me:

    • Building/rebuilding entire solution
    • Making sure the output path was correct (MyProject > Properties > Build > Output > Output path)

    Here's the solution that did work for me:

    • Rebuilding just the project
    0 讨论(0)
  • 2020-11-27 21:25

    I have solve this type of problem follow this step

    1.VS2010 right click on the solution explorer and select the Build.

    1. Again press Ctrl+F5 or F5
    0 讨论(0)
  • 2020-11-27 21:27

    I have solved this problem by changing the Platform Target to "any CPU".

    0 讨论(0)
  • 2020-11-27 21:27

    There are many issues that can lead to this problem, after losing 2 days to this issue I think I have the root cause of this issue and also the problem of the Form Designer throwing an error when switching to the Design view (also seems to effect the DataSet Designer):

    A language syntax error that Intellisense doesn't catch.

    Once I went through my code with a fine tooth comb I found a couple of really boneheaded mistakes that I kept overlooking, once those were resolved the solution compiled just fine and the output was in the correct place.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题