in the project.json files, we have a dependency section, and then we also have a framework section, where there can be more dependencies in each structure. I am confused by why sometimes dependencies need to go in sections of a section and at another time in a section of main dependencies?
for example, in several of my projects I have dependencies under dnxcore50, but when I update them from nuget, it places the updated version in the main dependencies section and leaves the old one with a lower version in the framework section.
In general, I find it very easy to make mistakes and get strange dependency resolution errors in VS 2015 for one framework or another, and it's hard to understand what caused the error. I had a time when I add a dependency to one project and cause errors in another project with types contained in several packages in the chain or in tasks that allow basic primitive types.
It seems that VS 2015 templates can put them in different places, and when you add a link with nuget, or maybe because I use beta5, the toolkit in VS is a little out of sync.
Is there any guidance on when to set dependencies in the main dependencies section according to specific sections of the infrastructure?
source
share