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.

NSpec nuget package dependencies issue

See original GitHub issue

I’m encountering a strange issue using a .Net 4.6.2 console project with NSpec. The packages\NSpec.3.0.4\lib\net451 folder has several older DLL’s besides just NSpec.dll, and these are being added as references in my project. One such example is Newtonsoft.Json.dll. Even though I install the nuget package for Newtonsoft.Json 10.0.1.0, the actual referenced DLL is the 9.0.1.19813 DLL sitting in the NSpec package folder.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
BennieCopelandcommented, Mar 28, 2017

@BrainCrumbz Looks good. I created a new project, and it pulled in the Newtonsoft.Json dependency as a new packages.config reference.

0reactions
BennieCopelandcommented, Mar 29, 2017

@BrainCrumbz Is Newtonsoft.Json still required with the new(old) build tools? See: https://github.com/dotnet/cli/issues/4921

Read more comments on GitHub >

github_iconTop Results From Across the Web

NuGet: pack command is NOT including nuget dependencies
nuget pack needs to be able to find the packages folder in order to resolve dependencies (see http://nuget.codeplex.com/workitem/3097), ...
Read more >
nuspec File Reference for NuGet
nuspec from a project using nuget spec , dependencies that exist in that project are not automatically included in the resulting .nuspec file....
Read more >
Nuget repository ignores dependencies of packages
Dependencies of packages pushed to the NuGet Repository are not shown in e. g. Visual Studio when browsing the dependency.
Read more >
Best Practices for Versioning NuGet Packages in ...
#1. Manage Package Dependencies ... NuGet Packages rarely function as a standalone unit. Most packages require at least one other package (called ...
Read more >
Create a NuGet package from a VS project and include all ...
This is the command where I initially didn't add any options and run into the issue where the referenced project dependencies weren't included, ......
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