-
Couldn't load subscription status.
- Fork 119
Open
Labels
Milestone
Description
CsWinRT/nuget/Microsoft.Windows.CsWinRT.IIDOptimizer.targets
Lines 52 to 65 in 3d85a63
| <Target Name="CsWinRTInvokeGuidPatcher" | |
| Condition="'$(DesignTimeBuild)' == ''" | |
| AfterTargets="Compile" | |
| BeforeTargets="Link" | |
| DependsOnTargets="CsWinRTGenerateIIDOptimizerResponseFile"> | |
| <Message Text="$(CsWinRTIIDOptimizerCommand)" Importance="$(CsWinRTMessageImportance)" /> | |
| <Exec Command="$(CsWinRTIIDOptimizerCommand)" ConsoleToMsBuild="true" IgnoreExitCode="true"> | |
| <Output TaskParameter="ConsoleOutput" PropertyName="CsWinRTGuidPatchOutput" /> | |
| <Output TaskParameter="ExitCode" PropertyName="CsWinRTGuidPatchExitCode"/> | |
| </Exec> | |
| </Target> |
Analyzing build time of a large project internally. Noticed that the CsWinRTInvokeGuidPatcher target is running repeatedly even when things haven't changed.
- Add Inputs/Outputs attributes to the targets
- Generate a "marker" file if necessary
- Remove unused output properties