I have created a nuget package (nupkg) and stored it in a gitlab package registry.
The .nuspec file used to create the package contains:
- Reference to a directory containing a Windows service .msi installer (file tag). The .msi is included in the package.
- Reference to a couple of dependencies which are to be downloaded from the chocolatey repository.
<dependencies>
<dependency id="erlang" version="26.2.1" />
<dependency id="rabbitmq" version="3.12.10" />
</dependencies>
When I call ‘choc install’ in powershell on my local machine the msi is downloaded and installed but the two dependency tags are completely ignored.
There are no errors raised in powershell or in the chocolatey logs.
I can install both erlang and rabbitmq using the ‘choco install’ command in powershell, but they will not install as a dependency in a nuget package.
I have tried this on a clean VM, but still does not work.
When I use the -v option, I get the following:
[NuGet] Resolving dependency information took 0 ms
Can anyone help?
Many thanks.
4