Skip to content

Commit ebff402

Browse files
authored
Turn on /features:strict for all projects (#13383)
1 parent c8feddb commit ebff402

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

PowerShell.Common.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,8 @@
153153
<!-- This is required to be portable to Coverlet tool !-->
154154
<DebugType>portable</DebugType>
155155
</PropertyGroup>
156+
157+
<PropertyGroup>
158+
<Features>strict</Features>
159+
</PropertyGroup>
156160
</Project>

test/Test.Common.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
1313
</PropertyGroup>
1414

15+
<PropertyGroup>
16+
<Features>strict</Features>
17+
</PropertyGroup>
18+
1519
<PropertyGroup Condition=" '$(IsWindows)' != 'true' ">
1620
<DefineConstants>$(DefineConstants);UNIX</DefineConstants>
1721
</PropertyGroup>

0 commit comments

Comments
 (0)