Summary
PR #37 already added ManagePackageVersionsCentrally=true to Directory.Build.props. This issue covers the remaining properties required by the PRD that are not yet present.
Properties to Add
Add the following to Directory.Build.props (or verify they exist):
<LangVersion>latest</LangVersion>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>All</AnalysisMode>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Acceptance Criteria
Context
Summary
PR #37 already added
ManagePackageVersionsCentrally=truetoDirectory.Build.props. This issue covers the remaining properties required by the PRD that are not yet present.Properties to Add
Add the following to
Directory.Build.props(or verify they exist):Acceptance Criteria
Directory.Build.propscontains all PRD-required shared build properties.csprojoverrides conflict with the new propertiesdotnet build MyBlog.slnx --configuration ReleasepassesContext
ManagePackageVersionsCentrally=truewas added by PR Centralize NuGet package versions with Directory.Packages.props #37 — do NOT duplicatesprint/1-foundation