Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jordan Levy 7 posts 76 karma points
    May 11, 2023 @ 20:59
    Jordan Levy
    0

    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.

  • Tarik Es 37 posts 169 karma points
    May 12, 2023 @ 09:27
    Tarik Es
    0

    Have you changed the Environment to Production in the launchSettings.json?

  • Jordan Levy 7 posts 76 karma points
    May 12, 2023 @ 20:05
    Jordan Levy
    0
Please Sign in or register to post replies

Write your reply to:

Draft