Copied to clipboard

Flag this post as spam?

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


  • David Jazbec 23 posts 145 karma points
    Nov 21, 2024 @ 19:36
    David Jazbec
    0

    Umbraco packages - targeting different Umbraco versions

    So I finally released my little Umbraco package. I packaged my project with dotnet 8 (Umbraco v14) and published it to NuGet.

    I may be wrong, but my logic says that if I also want to target v15, then I should just update the PackageReference to

    <PackageReference Include="Umbraco.Cms" Version="[14, 16)" />
    

    and still target dotnet 8 so it would work in both versions of Umbraco since dotnet itself is backward compatible.

    I have seen that some other packages in the marketplace try to match the NuGet package version to the Umbraco version, and these are then built with a different dotnet.

    I would like to keep things as simple as possible.

    Any tips would be appreciated.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies