My goal is conveniently adding my own library to my projects within my local network. I put the library in a SMB shared directory.
Get-Package -Source \\my\share\nuget -ListAvailable
showed the package. But when I tried
Install-Package ClassLibrary1 -Source \\my\share\nuget
VS ignored that source because of transient management or something and installed it from nuget.org. I searched the web and found this existing question, but adding that SMB share to VS's source list (after nuget.org) did not work because it still get it from nuget.org. I tried to specify the source like
Install-Package ClassLibrary1 -Source Local
where "Local" was the name I used in VS, but it did not work either. How can I make a local source work within my local network?