Description
In versions up until Cake 1.0.0 we has only one rule for TargetFramework.
In current development, there is three of them:
- addins referencing Cake < 1.0.0:
netstandard2.0
(required) andnet461
(suggested) - addins referencing Cake ≥ 1.0.0:
netstandard2.0
(required) andnet461
(suggested) andnet5.0
(suggested) - modules:
netstandard2.0
(required) - recipes: no required or suggested references
Currently for addins not referencing Cake (Core or Common) the same rule as for Cake < 1.0.0 is selected.
Why are the targeting rules different depending on whether an addin targets Cake.Core or not? Shouldn't we be consistent and always make the same recommendation?
And my reply was
Currently the rule defaults to the "lowest" requirement - in this case that is the "Cake < 1.0.0"-rule. We could argue, that since Cake 1.0.0 is now the default, the default-rule should be the "Cake ≥ 1.0.0"-rule.
The question is: Does someone have other ideas, or opinions on this? I really don't have a strong opinion on this, the way it is currently implemented was only the first thing that came to my mind when implementing this.