I have been wrestling with this for a few days and after tons of searching I can\'t find the path I should be on.
What I want to do is set up an MSBUILD project that
Try this:
Set the CustomAfterMicrosoftCommonTargets to C:\foo\filter.targets (or whatever you name the file) and have filter.targets to be:
False