When I create a new class library, for use with nuget, it has these dependencies / frameworks by default:
{
//.... stuff.....
"dependencies": {
"System.Collections": "4.0.10-beta-23019",
"System.Linq": "4.0.0-beta-23019",
"System.Threading": "4.0.10-beta-23019",
"System.Runtime": "4.0.10-beta-23019",
"Microsoft.CSharp": "4.0.0-beta-23019"
},
"frameworks": {
"dotnet": { }
}
}
Question 1
Does -beta-
in the dependencies section of project.json actually mean they're beta versions?!
If so, why is it creating dependencies on beta versions?
Question 2
When I install this nuget package, it attempts to install these dependencies alongside the package.
But in the target application, do I not already have references to System.Linq
, System.Collections
, and so on?
(I had wondered if this was because the nuget package was referencing the -beta-
versions, rather than the 4.0.0.0
as referenced in the target project. But this behaviour continued, event after changing 4.0.10-beta-23019
to 4.0.0.0
)