In my C# project(WPF), I have a XML file, and I need to modify this file very often, because it is metadata for my application. After modifying this file, I pressed F5 for debugging my app, but the project would not rebuild, and I got an old version of this file in the debug folder. I need to force a rebuild of the project every time after modifying the XML file.
Can i tune VS 2010 to automatically rebuild the project after modifying the XML file?
Xml file properties in VS: Build Action=Content
, Copy to Output Directory=Always
.