Skip to content

Commit

Permalink
Turn on TreatWarningsAsErrors for all warnings across the board
Browse files Browse the repository at this point in the history
  • Loading branch information
abelbraaksma committed Dec 24, 2023
1 parent f2ec71f commit 6a743a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<Project>
<Import Project="Version.props" />
<PropertyGroup>
<!-- Fail CI warning FS3511: This state machine is not statically compilable.-->
<WarningsAsErrors>FS3511</WarningsAsErrors>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/FSharp.Control.TaskSeq/FSharp.Control.TaskSeq.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>Computation expression 'taskSeq' for processing IAsyncEnumerable sequences and module functions</Title>
Expand Down

0 comments on commit 6a743a7

Please sign in to comment.