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 21 posts 143 karma points
    10 hours ago
    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.

Please Sign in or register to post replies

Write your reply to:

Draft