-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add net9.0 support #3699
Merged
Merged
Add net9.0 support #3699
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
c64ca21
Add net9.0 support
jamescrosswell 582045d
Workaround CastleProxy errors in device tests
jamescrosswell d3c40ca
Skip SystemDiagnosticsMetricsListenerTests in DeviceTests (will depre…
jamescrosswell df2cd5e
Disabled Handle_UnobservedTaskException_CaptureEvent (flaky test)
jamescrosswell 1154070
Update CHANGELOG.md
jamescrosswell 10550f7
Merge branch 'version-5.0.0' into net9
jamescrosswell f013b99
Made logic for detecting net8.0 or later more robust in Sentry.target…
jamescrosswell bdca1bb
Bump device tests to Xcode 16
jamescrosswell 8150ca8
Moved error from runtime to compile time in SingleFileApp
jamescrosswell 968e87b
Bump to XHarness 10 (prerelease)
jamescrosswell c3231da
Format code
getsentry-bot 93a950b
Merge branch 'version-5.0.0' into net9
jamescrosswell ba88d7e
Removed reference to obsolete member (Java SDK)
jamescrosswell 4a30dfd
Disabled iOS device tests
jamescrosswell 813a119
Removed hard coded alpha VersionSuffix
jamescrosswell 5efc0d5
Update ApiApprovalTests.Run.DotNet9_0.verified.txt
jamescrosswell 5beafd0
Debug native library references in integration tests on CI
jamescrosswell 196d00d
Reenable iOS device tests
jamescrosswell c9f3bc3
Fixed typo in MS Build condition on FrameworkSupportsNative
jamescrosswell faad873
Added temporary diagnostic logging to device-tests-ios.yml
jamescrosswell 306eefc
Update Sentry.Samples.Maui.csproj
jamescrosswell 301a854
Update device-tests-ios.yml
jamescrosswell ec2335e
Update device-test.ps1
jamescrosswell 58206a9
Update device-tests-ios.yml
jamescrosswell 7261983
Update build.yml
jamescrosswell bcc3f00
Disable Flaky tests
jamescrosswell d45ea42
Update Sentry.Native.targets
jamescrosswell 830ba36
Update Sentry.Native.targets
jamescrosswell 867073e
Merge branch 'version-5.0.0' into net9
jamescrosswell 4f59199
Update verify tests
jamescrosswell bab8ee7
Update SentryOptionsTests.Integrations_default_ones_are_properly_regi…
jamescrosswell 8699018
Update CHANGELOG.md
jamescrosswell 97b8a65
Update LocalDbFixture.cs
jamescrosswell 3da79c2
Merge branch 'net9' of github.com:getsentry/sentry-dotnet into net9
jamescrosswell 480814b
Format code
getsentry-bot e0ceb09
Update HubTests.cs
jamescrosswell ef82fb9
Merge branch 'net9' of github.com:getsentry/sentry-dotnet into net9
jamescrosswell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Remove unused applications | ||
description: Frees disk space by removing unused applications | ||
runs: | ||
using: composite | ||
steps: | ||
|
||
- name: Free Disk Space | ||
if: runner.os == 'Linux' | ||
uses: jlumbroso/free-disk-space@f68fdb76e2ea636224182cfb7377ff9a1708f9b8 | ||
with: | ||
android: false | ||
dotnet: false | ||
haskell: true | ||
large-packages: false | ||
docker-images: true | ||
swap-storage: true | ||
|
||
# TODO: Do we need all of these or just one? | ||
# 514M /usr/lib/llvm-15 | ||
# 486M /usr/lib/llvm-14 | ||
# 448M /usr/lib/llvm-13 | ||
- name: Remove unused applications | ||
if: runner.os == 'Linux' | ||
shell: bash | ||
run: | | ||
df -h /dev/root | ||
sudo rm -rf /usr/local/.ghcup | ||
sudo rm -rf /usr/local/julia1.10.5 | ||
sudo rm -rf /usr/lib/heroku | ||
sudo rm -rf /opt/hostedtoolcache/go | ||
sudo rm -rf /opt/hostedtoolcache/Ruby | ||
sudo apt-get remove -y '^mysql-.*' --fix-missing || echo "::warning::The command [sudo apt-get remove -y '^mysql-.*' --fix-missing] failed to complete successfully. Proceeding..." | ||
sudo apt-get autoremove -y || echo "::warning::The command [sudo apt-get autoremove -y] failed to complete successfully. Proceeding..." | ||
sudo apt-get clean || echo "::warning::The command [sudo apt-get clean] failed to complete successfully. Proceeding..." | ||
df -h /dev/root | ||
|
||
# We only use Xcode 16 | ||
- name: Remove unused applications | ||
if: runner.os == 'macOS' | ||
shell: bash | ||
run: | | ||
df -hI /dev/disk3s1s1 | ||
sudo rm -rf /Applications/Xcode_14.3.1.app | ||
sudo rm -rf /Applications/Xcode_15.0.1.app | ||
sudo rm -rf /Applications/Xcode_15.1.app | ||
sudo rm -rf /Applications/Xcode_15.2.app | ||
sudo rm -rf /Applications/Xcode_15.3.app | ||
df -hI /dev/disk3s1s1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,12 @@ | |
|
||
<!-- Allow references to unsigned assemblies (like MAUI) from signed projects --> | ||
<NoWarn>$(NoWarn);CS8002</NoWarn> | ||
|
||
<!-- We need to support old stuff. Applications should definitely address these advisory warnings though. --> | ||
<NoWarn>$(NoWarn);NU1903</NoWarn> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since it's a major, it's a good time to review the lowest we support and bump some a bit (not necessarily to latest) |
||
|
||
<!-- https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/dotnet-restore-audit#version-introduced --> | ||
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)' != 'Release'"> | ||
|
@@ -34,10 +40,14 @@ | |
<!-- | ||
Note: The following platform-specific properties need to be set in both Directory.Build.props and DirectoryBuild.targets. | ||
TODO: Figure out how to consolidate to a single location. | ||
- Directory.Build.props will get imported at the beginning of the project files, so sets properties that are | ||
prerequisites for the build and can be overriden in the project files. | ||
- Directory.Build.targets will get imported at the end of the project files, so can be used to run common custom | ||
tasks or ultimately override properties set in Directory.Build.props or the project files. | ||
--> | ||
<PropertyGroup> | ||
<TargetPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier> | ||
<SupportedOSPlatformVersion Condition="'$(TargetPlatformIdentifier)' == 'ios'">10.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="'$(TargetPlatformIdentifier)' == 'ios'">11.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="'$(TargetPlatformIdentifier)' == 'maccatalyst'">13.1</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="'$(TargetPlatformIdentifier)' == 'android'">21.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="'$(TargetPlatformIdentifier)' == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"sdk": { | ||
"version": "8.0.100", | ||
"version": "9.0.100-rc.2.24474.11", | ||
"rollForward": "latestMinor", | ||
"allowPrerelease": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.