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

Remove NuGet.Packaging.Core usage from arcade, use NuGet.Packaging instead #12907

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

nkolev92
Copy link
Contributor

Fixes #12906

To double check:

@@ -33,18 +33,19 @@ public override SignatureVerificationResult VerifySignature(string path, string

private bool IsSigned(string path)
{
IEnumerable<ISignatureVerificationProvider> providers = SignatureVerificationProviderFactory.GetSignatureVerificationProviders();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only change that actually changes behavior.

I'm unsure if this is still being used, but unlikely that this is related to the problems the .NET SDK encountered, since a lot of the types have changed. Example: SignatureVerificationProviderFactory does not exist in 4.9.

I'd be happy to revert this change if you prefer to minimize the risk.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cc @dtivel

Can you please take a look at this change?

The project is .NET Framework and likely only runs on windows.

https://github.com/NuGet/NuGet.Client/blob/16d8eb328c50cbc1c0a2063578745562e6a24792/src/NuGet.Core/NuGet.Packaging/Signing/SignatureVerificationProviderFactory.cs went away in 4.9.

Copy link
Member

Choose a reason for hiding this comment

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

This does run, but only on Windows and .NET Framework.

@nkolev92
Copy link
Contributor Author

cc @riarenas @mmitche can you help review this?

Thanks.

@mmitche mmitche merged commit 1177b37 into main Mar 24, 2023
@nkolev92 nkolev92 deleted the dev-nkolev92-updateNuGetPackagingCore branch March 24, 2023 19:05
@dougbu dougbu mentioned this pull request Aug 31, 2023
1 task
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 NuGet.Packaging.Core references from arcade tasks.
3 participants