Recently we’ve started to receive complaints that attempts to install the DidiSoft OpenPGP Library for .NET NuGet package in MS Visual Studio 2022 resulted in the following error:
PM> Install-Package DidiSoft.Pgp Install-Package : Unable to find package 'DidiSoft.Pgp' at source ''. At line:1 char:1 + Install-Package DidiSoft.Pgp + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand Time Elapsed: 00:01:09.6286093
It ended that we were using the NuGet version 2 feed format, whereas MS Visual Studio 2022 prefers the NuGet Version 3 format.
If you are experiencing the same issue, please update the DidiSoft.Pgp package source URL to: https://repo.didisoft.com/repository/nuget/index.json
You can check the updated tutorial article at: https://didisoft.com/net-openpgp/examples/nuget/
