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
Problem: The problem was I had bad nuget source configuration, so the solution could not start properly despite the fact it was build correctly because it still saw old dll references.
Solution: It was not enough to change nugget source url, I just had to remove entire nugget source and add it again with proper url. Clean solution and rebuild it.
Here is the solution for this problem, no need to change anything for this problem. You all know C# is case sensitive language and we have to write all methods and statements in correct case. We all are just missing this thing and we just have to change method 'main() --> Main()' This thing solved my problem please let me know if you still find any :-)
I've found that this can happen if all the files are deleted from the bin folder. ReBuild the app to force a full build: right click on the project in solution explorer and select ReBuild.
If the above explanation does not help you, then you could have error in the program. I have the same issue and I solved it as I cut the functions used in the same class and one of the functions were the cause of it.
I tried everything mentioned in this thread but none worked. Then, i tried the simplest thing and it worked. Close visual studio and open it back up again.
You could open the project file with a text editor and replace 'c:\target' by 'bin\Debug'
EDIT
There are other more helpful answers but I can't delete mine since it's the accepted one.
@CZFox Answer
@Yehuda Shapira Answer