Search code examples
visual-studio-2010vspackage

Overriding the VS2010 Project Invalidated (refreshed) event


I'm trying to override VS2010 behaviour when an external program makes changes to the project or solution files. Atm VS throws a popup asking if you want to reload/save the project files.

I've trying to override this behaviour however I have yet to find a solution. Is there some way to override the event or programatically set VS so it automatically lets external changes refresh active projects?


Solution

  • There are some configuration options available at

    Menu Tools - Options - Environment - Documents  
    

    Look at the checkbox and other options

    Detect when file is changed outside the environment