File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1212 </Target >
1313
1414
15- <Target Name =" GenerateUniqueIdentifierCs" Inputs =" $(MSBuildThisFileFullPath);$(MSBuildAllProjects);@(Compile) " Outputs =" $(UniqueIdentifierPath)" BeforeTargets =" CoreCompile" DependsOnTargets =" DefineProperties" >
15+ <Target Name =" GenerateUniqueIdentifierCs" Inputs =" $(VersionSourceFile) " Outputs =" $(UniqueIdentifierPath)" BeforeTargets =" CoreCompile" AfterTargets = " GenerateAssemblyVersionInfo " DependsOnTargets =" DefineProperties" >
1616
1717 <PropertyGroup >
18+ <UniqueIdentifier >$([System.Guid]::NewGuid())</UniqueIdentifier >
19+ <UniqueIdentifier Condition =" '$(GitCommitId)' != ''" >$(GitCommitId)</UniqueIdentifier >
1820 <UniqueIdSourceLines >
1921 namespace LibGit2Sharp.Core
2022 {
2123 internal static class UniqueId
2224 {
23- public const string UniqueIdentifier = "$([System.Guid]::NewGuid() )"%3b
25+ public const string UniqueIdentifier = "$(UniqueIdentifier )"%3b
2426 }
2527 }
2628 </UniqueIdSourceLines >
You can’t perform that action at this time.
0 commit comments