I am trying to reference System.Drawing in a .NET Core console application targeting .NET 4.6, but the assembly is not there.
According to Microsoft, if you use .NET Core, System.Drawing is not available. But if you reference the full .NET framework, you should be able to use it.
This is my project.json file:
{
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
},
"frameworks": {
"net46": {
}
}
}
What is the problem?