Skip to content

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

Merged
mmitche merged 2 commits intomainfrom
dev-nkolev92-updateNuGetPackagingCore
Mar 24, 2023
Merged

Remove NuGet.Packaging.Core usage from arcade, use NuGet.Packaging instead#12907
mmitche merged 2 commits intomainfrom
dev-nkolev92-updateNuGetPackagingCore

Conversation

@nkolev92
Copy link
Copy Markdown
Contributor

Fixes #12906

To double check:


private bool IsSigned(string path)
{
IEnumerable<ISignatureVerificationProvider> providers = SignatureVerificationProviderFactory.GetSignatureVerificationProviders();
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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