Automatically refresh file changes in Visual Studio 2008

Here is the scenario I ran into: I am working on a framework that does xml processing and generates various language outputs by applying appropriate transforms. I wrote a small class that reads an input xml and xslt, then generates output file.

builder.exe input.xml input.xsl output.ext

I put the following in the post-build event:

$(TargetDir)builder.exe $(ProjectDir)input.xml $(ProjectDir)input.xsl $(ProjectDir)output.html

What annoys me is every time the project is built and output file gets generated, visual studio asks you the same retarded question: "Do you want to reload the files?" You need to press "Yes" a few times.

The trick is:

Tools -> Options -> Documents -> Detect when files is changed outside the environment -> Check Auto-load changes, if saved. Big timer saver :)

^ Top of Page