I changed the Output path
for some projects of my Solution and now I´m getting some errors when I Build my solution. Errors like:
Could not copy the file "MyProject....pdb" because it was not found...
How could I fix it?
I changed the Output path
for some projects of my Solution and now I´m getting some errors when I Build my solution. Errors like:
Could not copy the file "MyProject....pdb" because it was not found...
How could I fix it?
(1) Please Uncheck the option "Enable the Visual Studio hosting process" from the project property->debug tab and see if that solves your issue.
(2) Please check your previous output and current output path, whether you can get the pdb file in the two folders? I suggest you delete the previous output path like bin/debug or release, and then re-open the project file, clean and rebuild the solution with the new output path, check it again.
(3) I also met this kind of issue which was related to the post-build event, so you need to check it in your side.
(4) Of course, if it is the reference between different projects, please make sure that you add the correct path for this reference and set the "copy local=true" after you change the output path.