I have a very barebones class library, and here's its project.json file (it's just a data model with very basic types and so doesn't need any other dependencies):
{
"version": "1.1.0-beta2",
"description": "My.Models",
"authors": [ "asdf" ],
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027"
},
"frameworks": {
"netstandard1.5": {
"imports": [
"dotnet5.6",
"dnxcore50",
"portable-net45+win8"
]
}
}
}
I also have a separate solution with a traditional csproj project inside targeting .net 451 (framework assemblies), and when I add a dependency on the My.Models package in the csproj I get the following error:
Attempting to resolve dependency 'NETStandard.Library (≥ 1.5.0-rc2-24027)'.
'NETStandard.Library' already has a dependency defined for 'Microsoft.NETCore.Platforms'.
What am I doing wrong here? My.Models is as basic a class library as it gets...
I have a very barebones class library, and here's its project.json file (it's just a data model with very basic types and so doesn't need any other dependencies):
I also have a separate solution with a traditional csproj project inside targeting .net 451 (framework assemblies), and when I add a dependency on the
My.Modelspackage in the csproj I get the following error:What am I doing wrong here?
My.Modelsis as basic a class library as it gets...