Visual Studio Publish/Deployment Question: Umbraco 10
I'm trying to deploy an Umbraco site to IIS10 on a Window's 2019 DataCenter server.
After publishing the project in VS2022 (Release - not debug config) The site launches with the following in the log file. I've tried Targeted Runtime as both "portable" and "x64". Same error
Any suggestions: I'm sure it is somethign obvious I'm overlooking.
Runtime mode validation failed for Production:\nThe JIT/runtime optimizer of the entry assembly needs to be enabled in production mode.
Visual Studio Publish/Deployment Question: Umbraco 10
I'm trying to deploy an Umbraco site to IIS10 on a Window's 2019 DataCenter server.
After publishing the project in VS2022 (Release - not debug config) The site launches with the following in the log file. I've tried Targeted Runtime as both "portable" and "x64". Same error
Any suggestions: I'm sure it is somethign obvious I'm overlooking.
Runtime mode validation failed for Production:\nThe JIT/runtime optimizer of the entry assembly needs to be enabled in production mode.
Have you changed the Environment to Production in the launchSettings.json?
Tried it. Didn't change anything.
I'm trying to follow https://docs.umbraco.com/umbraco-cms/v/10.latest-lts/fundamentals/setup/server-setup/iis
is working on a reply...