Hi @Cynolycus ,
Welcome to Microsoft Q&A forum.
For the first problem, after rebuilding, the corresponding .pdb files will be regenerated and the error message should disappear. If the error still exists, I may consider that there’s still some debugging cache, please try to remove the hidden .vs
folder in your solution folder and rebuild the project.
For the detailed error message => "This source file has been changed…"
- Are you using any source control tools? If so, did any team members change the source file?
- Is there any copy of your project/solution?
- If you added some references to your project, can you confirm that there’s no similar dll file(maybe with the same name but not the same version) which may be used by VS by mistake when debugging?
For the second problem, not very sure if it appears in a specific project or in every projects, if the issue is reproducible, please share us some detailed steps/a minimal sample to reproduce this issue and check further.
Feel free to contact us.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.