Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Nuget Manager can't read from subfolders

$
0
0

I've setup a private NuGet repository on a network folder (eg. \\networkfolder\nugetfeed\) but my Package Manager in Visual Studio 2019 cannot read packages nested in subfolders in that repository. Eg. I've generated a new folder tree for a package testlib1.0.0.nupkg and it looks like:

testlib:

  • 1.0.0:
    • lib
    • testlib1.0.0.nupkg
    • testlib1.0.0.nupkg.sha512
    • testlib.nuspec

I then uploaded this whole folder to the remote repository and PM cannot find it. When I put the testlib1.0.0.nupkg file into the root folder in the repository, PM can see it without any problems.I also created a local repository (eg. c:\nugetLocalFeed) and added it to my VS and PM can now read packages from subfolders without any problem. I also checked my folder access privileges on the shared drive. I am ale to create and read folder using Windows's file explorer and I run VS on the same account, with the same rights (and I run it as Admin).

Why is the NuGet Package Manager having problems reading packages from subfolders on the remote repository?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>