After adding log4net, I end up with the following error message in publication via the dotnet command (IIS giving a 500 error).
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'MonPath'
Framework : .Net CoreApp 1.1
In Debug mode via VS2017, the application is running.
In my .csproj :
PackageReference Include="Microsoft.NETCore.DotNetHostPolicy" Version="1.1.2" PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" TargetFramework netcoreapp1.1
I have found this solution for project.json but how to apply it to .csproj?
"compilationOptions": { "emitEntryPoint": true }