Copied to clipboard

Flag this post as spam?

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


  • Ben 8 posts 98 karma points
    9 hours ago
    Ben
    0

    Cut by the bleeding edge: Has anyone managed to get U15 stood up on Linux?

    Running: Umbraco 15, .NET 9 and Ubuntu/Linux

    I continue to run into the following error on application start:

    Unhandled exception. System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Builder.IISServerOptions' from assembly 'Microsoft.AspNetCore.Server.IIS, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
    

    It seems like the error is getting generated here (Github Source), but no changes were made to this class method between v14 and v15.

    My Ubuntu server has .NET 9 installed:

    % sudo apt install dotnet9
    

    And I've added UseKestrel to my Program.cs file.

    builder.WebHost.UseKestrel(options => options.AddServerHeader = false);
    

    Trying to decipher if this is an Umbraco issue, or a .NET 9 issue... I'm leaning toward .NET. Possibly some kind of minor version mismatch... but application has been running just fine locally on MacOS.

Please Sign in or register to post replies

Write your reply to:

Draft