Unable to add a reference to nuget package Microsoft.AspNetCore v2.0.0
I am trying to self host an aspnetcore mvc endpoint in a linqpad script.
Trying to add the Microsoft.AspNetCore v2.0.0 nuget package results in the following error message
Installing Microsoft.AspNetCore v1.12 which targets .net 4.5.1 and netstandard 1.6 appears to work
Trying to add the Microsoft.AspNetCore v2.0.0 nuget package results in the following error message
I'm assuming that linqpad is unable to reference packages targeting netstandard 2.0.
---------------------------
LINQPad
---------------------------
There are no usable .NET assemblies in package 'Microsoft.AspNetCore'.
---------------------------
OK
---------------------------
Installing Microsoft.AspNetCore v1.12 which targets .net 4.5.1 and netstandard 1.6 appears to work
Comments