Closed theimowski closed 4 years ago
IIRC when targeting .netcore3.x the dependency on Microsoft.AspNetCore
should be removed and instead a dependency on the Microsoft.Net.Web.Sdk
should be added. This is because the entire aspnetcore infrastructure is now bundled as an 'sdk' component, much the the BCL/runtime itself. I am not sure how to do this in a way that retains the backwards-compatibility for the 2.x environment though.
Here's a good example: https://github.com/prometheus-net/prometheus-net/blob/master/Prometheus.AspNetCore/Prometheus.AspNetCore.csproj
note the conditional dependency on a frameworkreference to aspnetcore instead of the packagereference
This should be closed now with #215 having been merged and released.
Yup, fixed in 0.11 - thanks a lot!
This is related to https://github.com/SAFE-Stack/SAFE-template/issues/326
Don't know the details but the
Microsoft.AspNetCore
package seems to be "obsolete"/"not meant to be used anymore" (It's been last updated 03.12.2018, while e.g.Microsoft.AspNetCore.App
on 2 months ago)For some reason having this package as a dependency makes the webapp fail in Azure AppEngine environment