File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 12
12
</Target >
13
13
14
14
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" >
16
16
17
17
<PropertyGroup >
18
+ <UniqueIdentifier >$([System.Guid]::NewGuid())</UniqueIdentifier >
19
+ <UniqueIdentifier Condition =" '$(GitCommitId)' != ''" >$(GitCommitId)</UniqueIdentifier >
18
20
<UniqueIdSourceLines >
19
21
namespace LibGit2Sharp.Core
20
22
{
21
23
internal static class UniqueId
22
24
{
23
- public const string UniqueIdentifier = "$([System.Guid]::NewGuid() )"%3b
25
+ public const string UniqueIdentifier = "$(UniqueIdentifier )"%3b
24
26
}
25
27
}
26
28
</UniqueIdSourceLines >
You can’t perform that action at this time.
0 commit comments