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.
I opened an issue in the original repository and I basically was right. Read more here: https://github.com/ardalis/CleanArchitecture/issues/491