Skip to content

Commit

Permalink
Fix Microsoft.VisualBasic.Core file version (#62848) (#62908)
Browse files Browse the repository at this point in the history
  • Loading branch information
safern committed Dec 16, 2021
1 parent c89dd63 commit bbd29a6
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<Project>
<Import Project="..\Directory.Build.props" />
<PropertyGroup>
<AssemblyVersion>$([MSBuild]::Add($(MajorVersion), 5)).$(MinorVersion).0.0</AssemblyVersion>
<!-- We need to set MajorVersion so that FileVersion is set correctly and is
greater than the one in the previous release -->
<MajorVersion>$([MSBuild]::Add($(MajorVersion), 5))</MajorVersion>
<AssemblyVersion>$(MajorVersion).$(MinorVersion).0.0</AssemblyVersion>
<!-- We set the minor version as the major file version is the same as the
one in the previous release, so with minor version we make this file version greater -->
<MinorVersion>1</MinorVersion>
<StrongNameKeyId>Microsoft</StrongNameKeyId>
<IncludePlatformAttributes>true</IncludePlatformAttributes>
</PropertyGroup>
Expand Down

0 comments on commit bbd29a6

Please sign in to comment.