Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NuGet - Given a type name or a DLL, how can I find the NuGet package?

I find blog posts about implementing stuff like OWIN integration or IAuthenticationFilter in Web API 2, but I can never work out what NuGet package(s) I need.

I seem to randomly Google stuff and look through GitHub projects, other blogs hoping for some clue.

Considering everything is going NuGet, is there a better way? A massive index of Package > Assembly > Types?

like image 349
Luke Puplett Avatar asked Jun 08 '15 14:06

Luke Puplett


People also ask

How do I find NuGet packages?

You can find packages directly at https://nuget.org/packages, or from the Visual Studio Package Manager UI or Package Manager Console with nuget.org as a source. All packages from nuget.org are routinely scanned for viruses.

How do I get NuGet package DLL?

Just build the class library by clicking the right click on solution explorer and you will see the NameOfLibrary. dll file in packages folder of your project directory.

Is NuGet Package same as DLL?

Put simply, a NuGet package is a single ZIP file with the . nupkg extension that contains compiled code (DLLs), other files related to that code, and a descriptive manifest that includes information like the package's version number.

Where are NuGet package sources stored?

The default is %userprofile%\. nuget\packages (Windows) or ~/. nuget/packages (Mac/Linux). A relative path can be used in project-specific nuget.


1 Answers

There is exactly what you want and it's called reverse package search but only for ASP.NET 5 packages - at least for now. You can make your search here : Reverse Package Search

Example query: Search for System.String

like image 158
Marko M. Avatar answered Oct 14 '22 21:10

Marko M.