Skip to content

Commit

Permalink
Add compatibility for non-SDK projects without InitializeSourceContro…
Browse files Browse the repository at this point in the history
…lInformation target
  • Loading branch information
kzu authored May 22, 2024
1 parent 8b38e5e commit 6e96c59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,8 @@

<Import Project="Directory.props" Condition="Exists('Directory.props')"/>
<Import Project="Directory.props.user" Condition="Exists('Directory.props.user')" />

<!-- Implemented by SDK in .targets, guaranteeing it's overwritten. Added here since we add a DependsOnTargets to it.
Covers backwards compatiblity with non-SDK projects. -->
<Target Name="InitializeSourceControlInformation" />
</Project>

0 comments on commit 6e96c59

Please sign in to comment.