Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Bump S.S.C.Pkcs AssemblyVersion Minor version #35429

Merged
merged 3 commits into from
Feb 20, 2019

Conversation

bartonjs
Copy link
Member

@bartonjs bartonjs commented Feb 19, 2019

New API was added for .NET Core 3.0, so the assembly minor needs to bump.

Fixes #35160.

New API was added for .NET Core 3.0, so the assembly minor needs to bump.
@bartonjs bartonjs requested a review from ericstj February 19, 2019 23:11
@ericstj
Copy link
Member

ericstj commented Feb 19, 2019

I suspect you need a packageindex change with this.

@ericstj
Copy link
Member

ericstj commented Feb 19, 2019

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>
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member Author

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.

@stephentoub stephentoub merged commit b4f94ab into dotnet:master Feb 20, 2019
@bartonjs bartonjs deleted the pkcs-assemblyver branch February 22, 2019 15:37
@karelz karelz added this to the 3.0 milestone Mar 18, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants