title: Visual Studio add pre-build event that always runs (C# project)
body: <p>In my project, I am running an external tool to update some binary files. These files are included in the project as "content".</p>
  
  <p>At the moment the tool is set to run during "pre-build event" in C# project properties. Unfortunately, this event is only executed if the project is out of date, which is not what I need.</p>
  
  <p>I am working around this by always using "rebuild" instead of "build" on my project, but this is tedious and slow.</p>
  
  <p>I need to execute this tool always, irrespective of whether a project is or is not up to date. Actually, even before MSBuild even determines whether the project is up-to-date, because the tool modifies some of the files included in the project, therefore affecting the up-to-date check result.</p>
  
  <p>Is there a proper way to do it?</p>