I have created a Target and specified Inputs and Outputs described in this tutorial to build CSS files from SASS files. This generally works except when I switch to an older Git branch that have older file timestamps. In this case, I want MSBuild to execute my target to rebuild my files but MSBuild skips it because the timestamps on my Inputs are older than my Outputs so MSBuild thinks my Outputs are up to date.
How do I get Visual Studio to incrementally build my SASS files and also clean/ignore my Outputs when I switch Git branches? I want to avoid manually cleaning my compiled CSS files to force a build.