File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 27
27
<Reference Include =" System.Net.Http" />
28
28
</ItemGroup >
29
29
30
+ <!-- Workaround for https://github.com/GitTools/GitVersion/issues/1031 -->
31
+ <PropertyGroup Condition =" '$(GitVersion_SemVer)' != ''" >
32
+ <GetVersion >false</GetVersion >
33
+ <WriteVersionInfoToBuildLog >false</WriteVersionInfoToBuildLog >
34
+ <UpdateAssemblyInfo >false</UpdateAssemblyInfo >
35
+
36
+ <Version >$(GitVersion_FullSemVer)</Version >
37
+ <VersionPrefix >$(GitVersion_MajorMinorPatch)</VersionPrefix >
38
+ <VersionSuffix Condition =" '$(UseFullSemVerForNuGet)' == 'false' " >$(GitVersion_NuGetPreReleaseTag)</VersionSuffix >
39
+ <VersionSuffix Condition =" '$(UseFullSemVerForNuGet)' == 'true' " >$(GitVersion_PreReleaseTag)</VersionSuffix >
40
+ <PackageVersion Condition =" '$(UseFullSemVerForNuGet)' == 'false' " >$(GitVersion_NuGetVersion)</PackageVersion >
41
+ <PackageVersion Condition =" '$(UseFullSemVerForNuGet)' == 'true' " >$(GitVersion_FullSemVer)</PackageVersion >
42
+ <InformationalVersion Condition =" '$(InformationalVersion)' == '' " >$(GitVersion_InformationalVersion)</InformationalVersion >
43
+ <AssemblyVersion Condition =" '$(AssemblyVersion)' == '' " >$(GitVersion_AssemblySemVer)</AssemblyVersion >
44
+ <FileVersion Condition =" '$(FileVersion)' == '' " >$(GitVersion_AssemblySemFileVer)</FileVersion >
45
+ <RepositoryBranch Condition =" '$(RepositoryBranch)' == '' " >$(GitVersion_BranchName)</RepositoryBranch >
46
+ <RepositoryCommit Condition =" '$(RepositoryCommit)' == '' " >$(GitVersion_Sha)</RepositoryCommit >
47
+ </PropertyGroup >
48
+
30
49
</Project >
You can’t perform that action at this time.
0 commit comments