How to install local NuGet package (.nupkg) from Visual Studio Community for Mac?
You can add the directory that contains the .nupkg file as a package source in Visual Studio for Mac.
- Select Preferences from the main menu.
- Open NuGet - Sources in the Preferences dialog.
- Click the Add button.
- In the Add Package Source dialog that opens click the Browse button.
- Find the directory with your .nupkg file then click the Open button.
- Change the Name of the package source if you want to.
- Then click the Add Source button.
Then you should be able to select the package source for your directory in the Add Packages dialog.