No packages found in hierarchical NuGet local folder
See original GitHub issueDescription
I have a local folder that stores internally-developed NuGet packages. NuGetForUnity locates this folder (it doesn’t issue any errors stating that the directory cannot be found, which is what happens if I deliberately enter an invalid path), but doesn’t list any of the packages it contains.
The NuGet.config
file (as populated through the Edit/Preferences/NuGet form) is as follows:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="NuGet" value="http://www.nuget.org/api/v2/" />
<add key="Internal" value="%HOMEDRIVE%%HOMEPATH%\NuGet" />
</packageSources>
<disabledPackageSources />
<packageSourceCredentials />
<activePackageSource>
<add key="All" value="(Aggregate source)" />
</activePackageSource>
<config>
<add key="repositoryPath" value="./Packages" />
<add key="verbose" value="true" />
<add key="InstallFromCache" value="false" />
<add key="ReadOnlyPackageFiles" value="false" />
</config>
</configuration>
Note that I’ve tried changing the order of the repos in packageSources
, to no avail.
We publish to this folder using both the nuget add
and dotnet nuget push
CLI commands, and can access them through NuGet
in Visual Studio and Rider, so there’s no issue with the local folder repo organization itself.
- NuGet Package: n/a
- NuGetForUnity Version: 3.0.5
- Unity Version: 2021.3.14f1
- Operating System: Windows 10 Enterprise 22H2.
Any thoughts?
Issue Analytics
- State:
- Created 8 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
nuget local package source is unable to find package
I'm trying to build some packages for use within my company. I've set up a local folder on my hard drive and added...
Read more >Setting up Local NuGet Feeds
Local NuGet package feeds are simply hierarchical folder structures on your local network (or even just your own computer) in which you ...
Read more >Add command for nuget add [or support hierarchical local ...
Consuming local packages can be done by configuring a folder as package source in nuget.config.. e.g. https://stackoverflow.com/questions/ ...
Read more >nuget package not found when using local nuget.config ...
Files are in the expected folder. I tried to compile the unit test. But that fails: error : This project references NuGet package(s)...
Read more >How to host your own NuGet Server and Package Feed
This command adds all the packages from a flat folder of nupkgs to the destination package source in a hierarchical layout as described...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Facsimiler thanks for the “willing” but I don’t need help with this feature, it is “simple”.
I’m also looking for this feature. So I’m glad to hear it is on your radar. It is something we will need eventually, but it isn’t urgent.