-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Bump S.S.C.Pkcs AssemblyVersion Minor version #35429
Conversation
New API was added for .NET Core 3.0, so the assembly minor needs to bump.
I suspect you need a packageindex change with this. |
Looks like you've also got validation issues. One problem I see is you're building the netstandard implementations with the higher assembly version. There may be others. |
@@ -2,7 +2,8 @@ | |||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<Import Project="..\Directory.Build.props" /> | |||
<PropertyGroup> | |||
<AssemblyVersion>4.0.4.0</AssemblyVersion> | |||
<AssemblyVersion>4.1.0.0</AssemblyVersion> | |||
<NetstandardAssemblyVersion>4.0.4.0</NetstandardAssemblyVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could have done <AssemblyVersion Condition="'$(TargetsNetStandard)' == 'true'">4.0.4.0</AssemblyVersion>
here, depending on what makes the most sense to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a comment here that says something like netstandard API surface is still 4.0.* since that is all that is supported by desktop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, okay, I'll try that, since it reduces the places that can get it wrong.
* Bump S.S.C.Pkcs AssemblyVersion Minor version New API was added for .NET Core 3.0, so the assembly minor needs to bump. * Fix packaging validation errors * Apply review feedback Commit migrated from dotnet/corefx@b4f94ab
New API was added for .NET Core 3.0, so the assembly minor needs to bump.
Fixes #35160.