Undo assembly version change for implementation assemblies

This commit is contained in:
Doug Bunting 2020-02-20 08:35:21 -08:00
parent c2ee4ae820
commit f1fbb2d757
No known key found for this signature in database
GPG Key ID: EE41520987982C03
1 changed files with 2 additions and 1 deletions

View File

@ -109,8 +109,9 @@
<Compile Include="$(SharedSourceRoot)ReferenceAssemblyInfo.cs" LinkBase="Properties" />
</ItemGroup>
<PropertyGroup Condition="'$(Language)' == 'C#' AND '$(IsReferenceAssemblyProject)' == 'true'">
<PropertyGroup Condition="'$(Language)' == 'C#'">
<!-- Reference assemblies should always use Major.Minor.0.0 for assembly versions even during servicing. Only the package version should be updated. -->
<!-- Pinning the implementation assemblies at Major.Minor.0.0 as we figure out compiling against ref assemblies. -->
<AssemblyVersion>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0.0</AssemblyVersion>
</PropertyGroup>