Skip to content

Commit f73c4f8

Browse files
committed
Enable strict package validation modes.
Signed-off-by: Bradley Grainger <[email protected]>
1 parent 823695b commit f73c4f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<DebugType>embedded</DebugType>
1616
<EnablePackageValidation>true</EnablePackageValidation>
1717
<PackageValidationBaselineVersion>2.0.0</PackageValidationBaselineVersion>
18+
<EnableStrictModeForCompatibleFrameworksInPackageValidation>true</EnableStrictModeForCompatibleFrameworksInPackageValidation>
19+
<EnableStrictModeForCompatibleTfms>true</EnableStrictModeForCompatibleTfms>
1820
<LangVersion>preview</LangVersion>
1921
<AnalysisLevel>latest-all</AnalysisLevel>
2022
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>

0 commit comments

Comments
 (0)