NSpec nuget package dependencies issue
See original GitHub issueI’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:
- Created 6 years ago
- Comments:11 (6 by maintainers)
Top 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 >
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
@BrainCrumbz Looks good. I created a new project, and it pulled in the Newtonsoft.Json dependency as a new packages.config reference.
@BrainCrumbz Is Newtonsoft.Json still required with the new(old) build tools? See: https://github.com/dotnet/cli/issues/4921