I want an MSBuild task to run after the Designer.cs files have been generated (but before the actual C# compiling). Some of the Visual Studio tools still don't put headers on their public members and these items kick out during the compile and masking other, more serious issues. I'm building a package that will inject #pragma statements into the designer files so they don't issue the useless warnings. I have a target that looks like this:
<Target AfterTargets="???????"
BeforeTargets="CoreCompile"
Name="BuildTask">
<IgnoreGeneratedFilesBuildTask IntermediateOutputPath="$(IntermediateOutputPath)"
ProjectPath="$(ProjectDir)"/>
But I don't know what to put in the 'AfterTargets' in order to run the task at the right time.