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 is a companion discussion topic for the original entry at https://our.umbraco.com/forum/115011-umbraco-packages-targeting-different-umbraco-versions