Skip to content

Commit

Permalink
Add explicit dependency info to enable FastUpToDateCheck feature in VS (
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottj1s authored Apr 20, 2021
1 parent 5695e66 commit c6f2b50
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nuget/Microsoft.Windows.CsWinRT.targets
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ $(CsWinRTFilters)
<WriteLinesToFile File="$(CsWinRTResponseFile)" Lines="$(CsWinRTParams)" Overwrite="true" WriteOnlyWhenDifferent="true" />
<Message Text="$(CsWinRTCommand)" Importance="$(CsWinRTMessageImportance)" />
<Exec Command="$(CsWinRTCommand)" />
<ItemGroup>
<CsWinRTOutputs Include="$(CsWinRTGeneratedFilesDir)/*.cs"/>
<UpToDateCheckInput Include="@(CsWinRTInputs)" Set="CsWinRTInputs" />
<UpToDateCheckOutput Include="$(CsWinRTResponseFile)" Set="CsWinRTInputs" />
<UpToDateCheckInput Include="$(CsWinRTResponseFile)" Set="CsWinRTOutputs" />
<UpToDateCheckOutput Include="@(CsWinRTOutputs)" Set="CsWinRTOutputs" />
</ItemGroup>
</Target>

<Target Name="CsWinRTIncludeProjection" BeforeTargets="BeforeCompile" DependsOnTargets="CsWinRTGenerateProjection" Condition="$(CsWinRTEnabled)">
Expand Down

0 comments on commit c6f2b50

Please sign in to comment.