Skip to content

Commit

Permalink
Resolve TODO
Browse files Browse the repository at this point in the history
Do not include DebuggerDisableUserUnhandledExceptionsAttribute for .NET 9 as it is built-in as of preview 7.
  • Loading branch information
martincostello committed Aug 14, 2024
1 parent 2b6aba0 commit 483a4e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Polly.Core/Polly.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@
<PackageReference Include="System.ComponentModel.Annotations" Condition="!$([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework), 'netcoreapp3.1'))" />
</ItemGroup>

<!--
TODO Conditionally compile once attribute available in public .NET 9 previews
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework), 'net9.0'))">
-->
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)..\Shared\DebuggerDisableUserUnhandledExceptionsAttribute.cs" Link="DebuggerDisableUserUnhandledExceptionsAttribute.cs" />
</ItemGroup>

Expand Down

0 comments on commit 483a4e5

Please sign in to comment.