Skip to content

Commit

Permalink
Don't override treat warnings as errors in StepLang project
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Dec 23, 2023
1 parent d817f52 commit d9218b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PropertyGroup Condition=" '$(Configuration)' != 'Debug' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>CS1591</WarningsNotAsErrors>
</PropertyGroup>
Expand Down
4 changes: 0 additions & 4 deletions StepLang/StepLang.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' != 'Debug' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Test' ">
<DefineConstants>TRACE;RELEASE</DefineConstants>
<Optimize>true</Optimize>
Expand Down

0 comments on commit d9218b9

Please sign in to comment.