Recently TreatWarningsAsErrors
and TargetFramework
moved into Directory.Packages.props
. While I can totally understand why it‘s now configured at a central place I‘m unsure why it moved to the CPM related file. Isn‘t this something that should be located in Directory.Build.props
? Or am I missing something here?
In my opinion the Packages file should only contain CPM related stuff while the Build file should contain everything else.