Skip to content

Commit 9bcbdb0

Browse files
committed
GH-1733 disable GenerateAssembly*Attribute if UpdateAssemblyInfo = true
1 parent 5099b15 commit 9bcbdb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/GitVersionTask/build/GitVersionTask.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
<!-- Property that enables UpdateAssemblyInfo. Default to off for SDK builds -->
1717
<UpdateAssemblyInfo Condition=" '$(UpdateAssemblyInfo)' == '' ">true</UpdateAssemblyInfo>
1818

19+
<GenerateAssemblyFileVersionAttribute Condition=" '$(UpdateAssemblyInfo)' == 'true' ">false</GenerateAssemblyFileVersionAttribute>
20+
<GenerateAssemblyVersionAttribute Condition=" '$(UpdateAssemblyInfo)' == 'true' ">false</GenerateAssemblyVersionAttribute>
21+
<GenerateAssemblyInformationalVersionAttribute Condition=" '$(UpdateAssemblyInfo)' == 'true' ">false</GenerateAssemblyInformationalVersionAttribute>
22+
1923
<!-- Property that enables GenerateGitVersionInformation -->
2024
<GenerateGitVersionInformation Condition=" '$(GenerateGitVersionInformation)' == '' ">true</GenerateGitVersionInformation>
2125

0 commit comments

Comments
 (0)