question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pack single templatefile do not add dependencies to nuspec

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
flin-8commented, Sep 21, 2017

It was fixed in 5.96.2 Thanks! We hit some issues with buggy versions previously and ended up pinning the version

1reaction
lexarchikcommented, Sep 21, 2017

ProjB’s version in the depdency list becomes “0.0”

It was fixed in 5.96.2

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found