Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop harvesting S.Security.Cryptography.Pkcs #52045

Merged
merged 3 commits into from
May 4, 2021

Conversation

ViktorHofer
Copy link
Member

The removed configurations (netstandard1.3, netcoreapp2.1, net46)
of the touched packages aren't built anymore. Instead
the already built matching binaries from the latest available packages
are redistributed when packaging these libraries.

Dropping these assets as the minimum supported set of platforms are ones
that support netstandard2.0 and are still in-support. As an example,
also dropping the netcoreapp2.1 asset which isn't supported anymore and
adding a target to prevent the package being used for netcoreapp2.x.
For .NET Framework, there's still a net461
configuration present to avoid binding redirect issues.

Contributes to #47530

@ericstj unfortunately there are still errors which I wasn't able to resolve. I might need your help again:

C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x86-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x86-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x64-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x64-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-arm but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-arm but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-arm-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-arm-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]

@ghost
Copy link

ghost commented Apr 29, 2021

Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer
See info in area-owners.md if you want to be subscribed.

Issue Details

The removed configurations (netstandard1.3, netcoreapp2.1, net46)
of the touched packages aren't built anymore. Instead
the already built matching binaries from the latest available packages
are redistributed when packaging these libraries.

Dropping these assets as the minimum supported set of platforms are ones
that support netstandard2.0 and are still in-support. As an example,
also dropping the netcoreapp2.1 asset which isn't supported anymore and
adding a target to prevent the package being used for netcoreapp2.x.
For .NET Framework, there's still a net461
configuration present to avoid binding redirect issues.

Contributes to #47530

@ericstj unfortunately there are still errors which I wasn't able to resolve. I might need your help again:

C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.0/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.1/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/win7-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/win7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/osx.10.11-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/centos.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/debian.8-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/linuxmint.17-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/rhel.7.2-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/ubuntu.14.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/ubuntu.16.04-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/osx.10.12-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/fedora.24-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/opensuse.42.1-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on .NETCoreApp,Version=v2.2/rhel.7-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x86 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x86-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x86-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x64 but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x64-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-x64-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-arm but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-arm but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-arm-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\ref\netstandard2.0-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
C:\Users\vihofer\.nuget\packages\microsoft.dotnet.build.tasks.packaging\6.0.0-beta.21221.6\build\Packaging.targets(1119,5): error : System.Security.Cryptography.Pkcs should support API version 6.0.0.0 on UAP,Version=v10.0.16299/win10-arm-aot but C:\git\runtime2\artifacts\bin\System.Security.Cryptography.Pkcs\netstandard2.0-windows-Debug\System.Security.Cryptography.Pkcs.dll was found to support 4.0.4.0. [C:\git\runtime2\src\libraries\System.Security.Cryptography.Pkcs\pkg\System.Security.Cryptography.Pkcs.pkgproj]
Author: ViktorHofer
Assignees: ViktorHofer
Labels:

area-Infrastructure-libraries

Milestone: -

@ViktorHofer ViktorHofer changed the title Stop harvesting S.Sec.Cryptography.Pkcs Stop harvesting S.Security.Cryptography.Pkcs Apr 29, 2021
@ericstj
Copy link
Member

ericstj commented Apr 29, 2021

All the errors are due to

<AssemblyVersion Condition="$(TargetFramework.StartsWith('netstandard'))">4.0.4.0</AssemblyVersion>

The supportedframework metadata is applying max version from all TFMs of referenced project and maps that to all frameworks listed. Since some of those have a different version it’s incorrect (similar to problem @Anipik faces in servicing when only netfx increments).

@ViktorHofer
Copy link
Member Author

Since some of those have a different version it’s incorrect (similar to problem @Anipik faces in servicing when only netfx increments).

So in such situation we need to disable the support check?

@ViktorHofer
Copy link
Member Author

ViktorHofer commented Apr 29, 2021

And presumably we also need to downgrade netstandard2.0's AssemblyVersion to the same as the harvested netstandard2.0 in the package which is 4.0.3.1? I had it like that before but reverted the change beause of the errors:

 <AssemblyVersion Condition="'$(TargetFramework)' == 'netstandard2.1'">4.0.4.0</AssemblyVersion>     
 <AssemblyVersion Condition="'$(TargetFramework)' == 'netstandard2.0'">4.0.3.1</AssemblyVersion>     

@ericstj
Copy link
Member

ericstj commented Apr 29, 2021

Can you remove the fixed assembly version here? Not sure what the history is but that’s a preferable solution. I’d be surprised if we had a good reason to fix assemblyversion on any of the remaining nuget packages. @Anipik might have background here.

@ViktorHofer
Copy link
Member Author

https://github.com/Anipik/runtime/blame/3b9abae5aae537258611b5750dc7e2963cfc73ed/src/libraries/System.Security.Cryptography.Pkcs/Directory.Build.props#L4-L5

I don't have the details here but does the comment indicate that the APIs are locked and the assembly version should stay the same?

@ViktorHofer
Copy link
Member Author

OK, the types in that assembly aren't exposed in an assembly with the same name on .NET Framework, instead those live in System.Security. So I don't see any concern with updating the AssemblyVersion. Will do so.

@ViktorHofer
Copy link
Member Author

ViktorHofer commented Apr 29, 2021

OK I take that back. Based on this comment it sounds like we can't bump netstandard's AssemblyVersion: dotnet/corefx#35429 (comment).

@ericstj
Copy link
Member

ericstj commented Apr 30, 2021

Based on this comment it sounds like we can't bump netstandard's AssemblyVersion: dotnet/corefx#35429 (comment).

One problem I see is you're building the netstandard implementations with the higher assembly version

Have a look at what the package did at that time: https://github.com/bartonjs/corefx/blob/1f9dfefe911486667c9c394444d2d193affe3a01/src/System.Security.Cryptography.Pkcs/pkg/System.Security.Cryptography.Pkcs.pkgproj#L9-L12

It was harvesting reference assemblies, but then live-building the implementations:
https://github.com/bartonjs/corefx/blob/1f9dfefe911486667c9c394444d2d193affe3a01/src/System.Security.Cryptography.Pkcs/src/Configurations.props#L5-L6

That was what was breaking validation at the time: it didn't like newer minor version for impl since it was trying to make sure people exposed the right version of the reference assembly. Contrast that to now: you're live building everything. Would be nice to simplify this. I don't think we are trying to represent the different API on different TargetFrameworks in assembly versions any more, we're already not doing this in other packages (EG: the drawing case we just looked at).

Double-check that surface are in your new netstandard2.0 ref build matches what was previously harvested. Then I'd say move everything to 6.0.0.0.

@ViktorHofer
Copy link
Member Author

ViktorHofer commented May 3, 2021

That does make sense @ericstj, thanks for the help here again. I still hit validation error with the netstandard2.1 assembly version when targeting Xamarin and Mono tfms. Presumably because I'm bumping the assembly version there? Would I want to suppress there errors?

Looked further into this and the errors happen because of the harvested assets having the old assembly versions and package validation complaining about the bump. I decided to disable the support validation.

@ViktorHofer
Copy link
Member Author

ViktorHofer commented May 3, 2021

The netstandard2.0 asm diff looks fine. The only observable difference is the addition of AlgorithmIdentifier.Parameters which was added / brought back in 2018: ce99945. That api is present on .NET Framework as well so I believe the addition should be fine to be exposed in the netstandard2.0 ref.

System.Security.Cryptography.Pkcs

 {
+    namespace System.Diagnostics.CodeAnalysis {
+        internal sealed class AllowNullAttribute : Attribute
+        internal sealed class DisallowNullAttribute : Attribute
+        internal sealed class DoesNotReturnAttribute : Attribute
+        internal sealed class DoesNotReturnIfAttribute : Attribute
+        internal sealed class MaybeNullAttribute : Attribute
+        internal sealed class MaybeNullWhenAttribute : Attribute
+        internal sealed class MemberNotNullAttribute : Attribute
+        internal sealed class MemberNotNullWhenAttribute : Attribute
+        internal sealed class NotNullAttribute : Attribute
+        internal sealed class NotNullIfNotNullAttribute : Attribute
+        internal sealed class NotNullWhenAttribute : Attribute
+    }
-    namespace System.Runtime.CompilerServices {
 {
-        internal class __BlockReflectionAttribute : Attribute

-    }
+    namespace System.Runtime.Versioning {
+        internal abstract class OSPlatformAttribute : Attribute
+        internal sealed class SupportedOSPlatformAttribute : OSPlatformAttribute
+        internal sealed class TargetPlatformAttribute : OSPlatformAttribute
+        internal sealed class UnsupportedOSPlatformAttribute : OSPlatformAttribute
+    }
     namespace System.Security.Cryptography {
         public sealed class CryptographicAttributeObject {
-            public CryptographicAttributeObject(Oid oid, AsnEncodedDataCollection values);
+            public CryptographicAttributeObject(Oid oid, AsnEncodedDataCollection? values);
         }
         public sealed class CryptographicAttributeObjectCollection : ICollection, IEnumerable {
+            public bool IsSynchronized { get; }
+            public object SyncRoot { get; }
-            bool System.Collections.ICollection.IsSynchronized { get; }

-            object System.Collections.ICollection.SyncRoot { get; }

-            void System.Collections.ICollection.CopyTo(Array array, int index);
+            void ICollection.CopyTo(Array array, int index);
-            IEnumerator System.Collections.IEnumerable.GetEnumerator();
+            IEnumerator IEnumerable.GetEnumerator();
         }
         public sealed class CryptographicAttributeObjectEnumerator : IEnumerator {
-            object System.Collections.IEnumerator.Current { get; }
+            object IEnumerator.Current { get; }
         }
     }
     namespace System.Security.Cryptography.Pkcs {
         public sealed class AlgorithmIdentifier {
+            public byte[] Parameters { get; set; }
         }
         public sealed class CmsRecipientCollection : ICollection, IEnumerable {
+            public bool IsSynchronized { get; }
+            public object SyncRoot { get; }
-            bool System.Collections.ICollection.IsSynchronized { get; }

-            object System.Collections.ICollection.SyncRoot { get; }

-            IEnumerator System.Collections.IEnumerable.GetEnumerator();
+            IEnumerator IEnumerable.GetEnumerator();
         }
         public sealed class CmsRecipientEnumerator : IEnumerator {
-            object System.Collections.IEnumerator.Current { get; }
+            object IEnumerator.Current { get; }
         }
         public sealed class CmsSigner {
-            public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2 certificate);
+            public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2? certificate);
-            public CmsSigner(X509Certificate2 certificate);
+            public CmsSigner(X509Certificate2? certificate);
-            public X509Certificate2 Certificate { get; set; }
+            public X509Certificate2? Certificate { get; set; }
         }
         public sealed class KeyAgreeRecipientInfo : RecipientInfo {
-            public CryptographicAttributeObject OtherKeyAttribute { get; }
+            public CryptographicAttributeObject? OtherKeyAttribute { get; }
         }
         public class Pkcs9AttributeObject : AsnEncodedData {
-            public Oid Oid { get; }
+            public Oid? Oid { get; }
         }
         public sealed class RecipientInfoCollection : ICollection, IEnumerable {
+            public bool IsSynchronized { get; }
+            public object SyncRoot { get; }
-            bool System.Collections.ICollection.IsSynchronized { get; }

-            object System.Collections.ICollection.SyncRoot { get; }

-            IEnumerator System.Collections.IEnumerable.GetEnumerator();
+            IEnumerator IEnumerable.GetEnumerator();
         }
         public sealed class RecipientInfoEnumerator : IEnumerator {
-            object System.Collections.IEnumerator.Current { get; }
+            object IEnumerator.Current { get; }
         }
         public sealed class SignerInfo {
-            private SignerInfo();
+            internal SignerInfo();
-            public X509Certificate2 Certificate { get; }
+            public X509Certificate2? Certificate { get; }
         }
         public sealed class SignerInfoCollection : ICollection, IEnumerable {
-            IEnumerator System.Collections.IEnumerable.GetEnumerator();
+            IEnumerator IEnumerable.GetEnumerator();
         }
         public sealed class SignerInfoEnumerator : IEnumerator {
-            private SignerInfoEnumerator();
+            internal SignerInfoEnumerator();
-            object System.Collections.IEnumerator.Current { get; }
+            object IEnumerator.Current { get; }
         }
     }
     namespace System.Security.Cryptography.Xml {
         public struct X509IssuerSerial {
+            private int _dummyPrimitive;
         }
     }
 }

The removed configurations (netstandard1.3, netcoreapp2.1, net46)
of the touched packages aren't built anymore. Instead
the already built matching binaries from the latest available packages
are redistributed when packaging these libraries.

Dropping these assets as the minimum supported set of platforms are ones
that support netstandard2.0 and are still in-support. As an example,
also dropping the netcoreapp2.1 asset which isn't supported anymore and
adding a target to prevent the package being used for netcoreapp2.x.
For .NET Framework, there's still a net461
configuration present to avoid binding redirect issues.

Contributes to dotnet#47530
@@ -640,9 +638,6 @@
<PackageReference Include="System.Buffers" Version="$(SystemBuffersVersion)" />
<PackageReference Include="System.Memory" Version="$(SystemMemoryVersion)" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj" />
<!-- Ref assembly for netstandard2.0 isn't live built anymore. -->
<PackageDownload Include="$(MSBuildProjectName)" Version="[$(SystemSecurityCryptographyPkcsVersion)]" />
<ResolvedMatchingContract Include="$(NuGetPackageRoot)$(MSBuildProjectName.ToLowerInvariant())\$(SystemSecurityCryptographyPkcsVersion)\ref\$(TargetFramework)\$(MSBuildProjectName).dll" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I was looking at when this was introduced and found

<PackageReference Include="System.Security.Cryptography.Pkcs" Version="$(SystemSecurityCryptographyPkcsVersion)" />

Might be an opportunity for further cleanup, removing SystemSecurityCryptographyPkcsVersion entirely. Not necessarily as part of this PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only grabbed for "$(ProjectName).csproj" but not for "$(ProjectName)" which is why I missed this dependent project. Thanks for the great feedback. I submitted #52239 to address this.

@ViktorHofer ViktorHofer merged commit 14c0350 into dotnet:main May 4, 2021
@ViktorHofer ViktorHofer deleted the PkcsHarvesting branch May 4, 2021 10:10
@ViktorHofer ViktorHofer added the breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. label May 4, 2021
@ghost ghost added the needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet label May 4, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
@ViktorHofer ViktorHofer removed the needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet label Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-libraries breaking-change Issue or PR that represents a breaking API or functional change over a prerelease.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants