Skip to content

Commit

Permalink
Temporarily squelch warnings that appear on .NET 8.0 SDK
Browse files Browse the repository at this point in the history
This will be fixed properly in #143
  • Loading branch information
idg10 committed Dec 4, 2023
1 parent 4fca291 commit eaa3285
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<AnalysisLevel>7.0</AnalysisLevel>
<!--
Apparently setting AnalysisLevel isn't quite enough to avoid the new warnings we get in .NET SDK 8.0.
This NoWarn line should be removed when we do https://github.com/reaqtive/reaqtor/issues/143 -->
<NoWarn>$(NoWarn);IDE0079;IDE0090;CA1305;CA1822;CA1854</NoWarn>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down
12 changes: 6 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ stages:

steps:
- task: UseDotNet@2
displayName: Use .NET Core 7.x SDK
displayName: Use .NET Core 8.x SDK
inputs:
version: 7.x
version: 8.x
performMultiLevelLookup: true

- powershell: |
Expand Down Expand Up @@ -89,9 +89,9 @@ stages:

steps:
- task: UseDotNet@2
displayName: Use .NET Core 7.x SDK
displayName: Use .NET Core 8.x SDK
inputs:
version: 7.x
version: 8.x
performMultiLevelLookup: true

- task: DotNetCoreCLI@2
Expand All @@ -113,9 +113,9 @@ stages:

steps:
- task: UseDotNet@2
displayName: Use .NET Core 7.x SDK
displayName: Use .NET Core 8.x SDK
inputs:
version: 7.x
version: 8.x
performMultiLevelLookup: true

- powershell: |
Expand Down

0 comments on commit eaa3285

Please sign in to comment.