Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can I get rid of the "file changed" warning in Visual Studio debugger

When I’m debugging I will write notes where I hit issues, then continue with my debugging. I turn off Edit & Continue because with my notes, the code won’t compile.

But what’s annoying is I get a warning from the Visual Studio debugger every time I do this. And I know there’s a way to turn this off, I just can’t remember how (hard drive crash => reinstalled everything).

So, how can I turn it off?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

This source file has changed. It no longer matches the version of the
file used to build the application being debugged.

enter image description here

And to clarify, I do want it to compile before starting the debugger. It’s once I’ve started debugging I want it to silently accept and code editing I do.

>Solution :

Uncheck Options > Debugging > General > "Require source files to exactly match the original version".

Is that what you are looking for?

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading