Forum How do I...?

PrinceXMLWrapper nuget for .net core 3.1 project

ytretsyak
Hello, I am trying to setup PrinceXMLWrapper from Nuget, but looks like I do something wrong, because I got next errors:
PM> dotnet add ConsoleApp13 package PrinceXMLWrapper --version 1.0.0
Determining projects to restore...
Writing C:\Users\path\AppData\Local\Temp\tmp4F1D.tmp
info : Adding PackageReference for package 'PrinceXMLWrapper' into project 'C:\Users\path\source\repos\ConsoleApp13\ConsoleApp13\ConsoleApp13.csproj'.
info : Restoring packages for C:\Users\path\source\repos\ConsoleApp13\ConsoleApp13\ConsoleApp13.csproj...
info : GET https://api.nuget.org/v3-flatcontainer/princexmlwrapper/index.json
info : NotFound https://api.nuget.org/v3-flatcontainer/princexmlwrapper/index.json 921ms
error: NU1101: Unable to find package PrinceXMLWrapper. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.org
error: Package 'PrinceXMLWrapper' is incompatible with 'all' frameworks in project 'C:\Users\path\source\repos\ConsoleApp13\ConsoleApp13\ConsoleApp13.csproj'.

Also I don't see PrinceXMLWrapper in search result of nuget manager, is it expected behaviour?
I attached image with this result, take a look please.

Thanks,
Yury
  1. Prince_nuget.png33.1 kB
adrianwong
Hi Yury,

Our NuGet package was formerly hosted on GitHub Packages; downloading from there would have required a few additional steps.

To make this process simpler, we've switched to the NuGet Gallery as of today, so running the same command you did before, i.e.

dotnet add ConsoleApp13 package PrinceXMLWrapper --version 1.0.0


should "just work". Give it a try and let us know how it goes!
ytretsyak
Thanks for the answer!