I have other .NET Core applications running on a windows web server, running IIS. I cannot for the life of me get this website running on my webserver. I usually just have to copy the 'publish' directory to the web server and point it to that within IIS and everything just works fine. But now, with version 2019.0.6 I see the above error repeated in the error log file. I won't post the entire error log, of course, but here's the first several lines:
Hosting environment: Production
Content root path: D:\QMISDBAdmin2019\bin\Debug\netcoreapp2.1\publish
Application started. Press Ctrl+C to shut down.
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
An unhandled exception has occurred while executing the request.
System.InvalidOperationException: Cannot find compilation library location for package 'Microsoft.AspNet.WebApi.Client'
Then I get a 500 error on the page.
Strange thing is, if I browse the app after generating it with ASP.Net Maker it runs fine, but just not within IIS.
Any ideas or suggestions would be greatly appreciated.
Kind regards,
David