Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I search for Nuget Packages that target my plaftform?

I am looking for a CRON-like timer/scheduler library that can run on Net Standard 1.x (actually it is a simple portable ASP.NET Core web app).

But I couldn't find any way to filter NuGet Packages by target platform. Whatever I tried I always get a list of all the packages, targeting whatever platform, so I am forced to try each one until I find one that doesn't fails on NuGet Restore.

For example:

  • I went to nuget.org and did some trivial search, but seems like there is no way to filter on the target platform.
  • I also tried Visual Studio 2015 Update 3 intellisense on the project.json file, but the suggested packages target other platforms and I end up with build errors.
  • Downloaded NuGet Package Explorer which is great to find the target platforms of a given package, but doesn't let me search packages by platform.

I know this is a related question: [ How do I find the right NuGet package for my framework version ], but that question ended up being about how to find the correct older version of a well-known package that targets an older version of .NET Framework.

How can I list or search for NuGet Packages that target netstandard?

like image 623
Gerardo Grignoli Avatar asked Nov 08 '22 11:11

Gerardo Grignoli


1 Answers

As of July 2016, it is not supported by NuGet:

"We don't yet support filtering the list in VS this way." Github issue link

like image 80
Gerardo Grignoli Avatar answered Nov 14 '22 22:11

Gerardo Grignoli