Skip to content

Conversation

@heng-liu
Copy link
Contributor

@heng-liu heng-liu commented Jul 31, 2020

Bug

Fixes: NuGet/Home#8952 and https://github.com/NuGet/Client.Engineering/issues/367
Regression: No

  • Last working version:
  • How are we preventing it in future:

Fix

Details:
Remove the patching on deps.json files in Dotnet.Integration.Test.
Remove the comments as we need package referrenc of System.Security.Cryptography.Pkcs/Cng as they're not part of the .NET 5 Base Class Libraries (BCL)
Update the version of dotnet sdk for testing to a newer version, as the old one doesn't have Pkcs.dll.
Update the version of dotnet sdk for building to the latest public version(preview7).

Testing/Validation

Tests Added: No
Reason for not adding tests:
Validation:

<VSServicesVersion>16.153.0</VSServicesVersion>
<VSThreadingVersion>16.6.13</VSThreadingVersion>
<!-- TODO - remove this when temporary patching is no longer necessary. See https://github.com/nuget/home/issues/8952 -->
<PatchedSystemPackagesVersion>5.0.0-preview.3.20214.6</PatchedSystemPackagesVersion>
Copy link
Member

Choose a reason for hiding this comment

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

You only removed the comment.
How about the property variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for reviewing!
The property PatchedSystemPackagesVersion is still needed, as the System.Security.Cryptography.Pkcs/Cng are not in the .NET 5 Base Class Libraries (BCL). We need to keep the package referrence of System.Security.Cryptography.Pkcs/Cng.
So only the comment should be removed.

Copy link
Member

@nkolev92 nkolev92 Aug 3, 2020

Choose a reason for hiding this comment

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

Should we change the name to a property that communicates the intention better?

Maybe something like CryptographyPackagesVersion or similar.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. Fixed.

Copy link
Member

@nkolev92 nkolev92 left a comment

Choose a reason for hiding this comment

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

Nice :)
Happy to see this cleanup.

👏

@heng-liu heng-liu force-pushed the dev-hengliu-xplat2-remove-patching branch 2 times, most recently from 8cf91bd to fa52013 Compare August 11, 2020 14:48
@heng-liu heng-liu force-pushed the dev-hengliu-xplat2-remove-patching branch from 040b282 to cc7e4b9 Compare September 3, 2020 04:40
@heng-liu heng-liu requested a review from a team as a code owner September 3, 2020 04:40
@heng-liu heng-liu force-pushed the dev-hengliu-xplat2-remove-patching branch from cc7e4b9 to a35add7 Compare September 17, 2020 20:29
@heng-liu heng-liu closed this Oct 2, 2020
@nkolev92 nkolev92 deleted the dev-hengliu-xplat2-remove-patching branch January 20, 2021 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Temp fix on patching

4 participants