pack single templatefile do not add dependencies to nuspec
See original GitHub issueI have two projects ProjA, ProjB. Both have paket.template files. ProjA have reference to ProjB (in .csproj file)
I execute paket pack output test
in solution folder
In result package ProjA have a dependence with min version specified to package ProjB.
But if i execute paket pack templatefile ProjA\paket.template output test
Result package ProjA do not have dependence to ProjB package.
I can’t get logic of this behaviour.
Test solution in attached archive. PackSingleTemplateFile.zip
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
NuGet: pack command is NOT including nuget dependencies
Project B.csproj has a dependency to the A-package that i added with the VS Nuget Extension. Now, when i run nuget spec.
Read more >Paket pack should inform the user when no paket.template ...
Today, I used paket pack for the first time because dotnet pack is using the latest version of dependency for the nuspec requirements....
Read more >NuGet Warning NU5128
This may cause package consumers to believe the package is not compatible with the TFM, even if the package does not have dependencies....
Read more >The paket.template files
project : Paket will look for a matching project file, and infer dependencies and metadata from the project. Matching project and template files...
Read more >paket pack
A dependency manager for .NET with support for NuGet packages and git repositories.
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 FreeTop 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
Top GitHub Comments
It was fixed in 5.96.2