We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0d8eaf commit 3ba098eCopy full SHA for 3ba098e
LibGit2Sharp/CodeGenerator.targets
@@ -65,7 +65,7 @@
65
</Target>
66
67
68
- <Target Name="AddNativeDllCommitShaToBuildMetadata" BeforeTargets="GetBuildVersion">
+ <Target Name="AddNativeDllCommitShaToBuildMetadata" BeforeTargets="GetBuildVersion" Condition="'$(IsCrossTargetingBuild)' != 'true'">
69
70
<ReadLinesFromFile File="@(EmbeddedResource)" Condition=" '%(Filename)%(Extension)' == 'libgit2_hash.txt' ">
71
<Output TaskParameter="Lines" PropertyName="libgit2hash" />
0 commit comments