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.
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
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.
is working on a reply...