VS2008: Disable asking whether to reload files changed outside the IDE

Posted by SealedSun on Stack Overflow See other posts from Stack Overflow or by SealedSun
Published on 2009-07-16T19:24:17Z Indexed on 2010/05/20 4:50 UTC
Read the original article Hit count: 301

Hi,

I have a Visual Studio 2008 project where some code files are generated with each build (a parser, integrated via MSBuild aka editing the *.csproj file). VS does not know about the generated nature of these files (i.e. they are not the result of a "Custom Tool). So they "change" with every build, naturally. And VS2008 asks me after every build if I would like to reload those files:

This file has been modified outside the source
Do you want to reload it?

That would be ok if I had one of those files opened and in front of me, but I get these modal dialogs even with none of the code files opened.

So my question is: Is there a way to disable this dialog, per project, per solution or globally?

Thanks!

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about visual-studio