Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4569 +/- ##
==========================================
+ Coverage 73.46% 73.47% +0.01%
==========================================
Files 482 482
Lines 17679 17679
Branches 3495 3495
==========================================
+ Hits 12988 12990 +2
+ Misses 3800 3798 -2
Partials 891 891 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
567869c to
2beb045
Compare
Collaborator
Author
|
@Flash0ver Turns out we didn't need On the contrary, injecting MSBuild 16 into Fortunately, the same warning can be produced with |
Flash0ver
reviewed
Sep 29, 2025
Flash0ver
reviewed
Sep 29, 2025
Co-authored-by: Stefan Pölz <[email protected]>
alexsohn1126
pushed a commit
that referenced
this pull request
Oct 11, 2025
Co-authored-by: Stefan Pölz <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

This PR adds an integration test that builds and runs a minimal Sentry .NET app with different .NET SDK and MSBuild versions:
.NET 5.0 installation and tests are excluded on macOS because .NET 5.0 does not support ARM64 on macOS. However, the test reproduces the warning reported in #4554 both on Windows and Linux:
Once #4554 has been fixed, we could consider
TreatWarningsAsErrors=trueto prevent new warnings from surfacing in the future.Close: #4299
#skip-changelog
Note
Adds MSBuild integration tests for .NET 5/8/9 and updates CI to install .NET 5 SDK and libssl1 on Linux, plus packs during MSBuild.
libssl1.1on Linux viascripts/install-libssl1.shin./github/actions/environment..NET 5.0SDK (excluded on macOS ARM64) alongside existing SDK setup.Restore,Build,Packand executes integration tests viaintegration-test/msbuild.Tests.ps1.integration-test/msbuild.Tests.ps1builds/runs a console app via MSBuild acrossnet5.0(when supported),net8.0, andnet9.0, validating Sentry capture.integration-test/nuget5.configfor NuGet 5 (no packageSourceMapping) used with .NET 5.integration-test/common.ps1to usedotnet restore /p:CheckEolTargetFramework=false.scripts/install-libssl1.shto installopenssl1.1-compat(Alpine) orlibssl1.1(Ubuntu).Written by Cursor Bugbot for commit dc2ddfd. This will update automatically on new commits. Configure here.