Skip to content

Commit e14e5c2

Browse files
committed
Merge branch 'main' into maui_gestures_breadcrumbs
2 parents ba54096 + 8978bc4 commit e14e5c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Fixes
1212

1313
- Work around iOS SHA1 bug ([#4143](https://github.com/getsentry/sentry-dotnet/pull/4143))
14+
- Fixes build error when building .NET Framework applications using Sentry 5.6.0: `MSB4185 :The function "IsWindows" on type "System.OperatingSystem" is not available` ([#4160](https://github.com/getsentry/sentry-dotnet/pull/4160))
1415

1516
### Dependencies
1617

src/Sentry/buildTransitive/Sentry.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Error Text="Android projects using Sentry cannot build using AndroidEnableAssemblyCompression = false due to a Microsoft issue. Please follow https://github.com/dotnet/android/issues/9752" />
1616
</Target>
1717

18-
<ItemGroup Condition="$([System.OperatingSystem]::IsWindows())">
18+
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
1919
<!-- See: https://github.com/getsentry/sentry-dotnet/pull/4111 -->
2020
<LinkerArg Include="/NODEFAULTLIB:MSVCRT" />
2121
</ItemGroup>

0 commit comments

Comments
 (0)