Skip to content

fix(build): suppress NU5104 for preview TFM dependencies#337

Merged
j-d-ha merged 2 commits into
mainfrom
fix/allow-pre-release-publishing
Apr 17, 2026
Merged

fix(build): suppress NU5104 for preview TFM dependencies#337
j-d-ha merged 2 commits into
mainfrom
fix/allow-pre-release-publishing

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

🚀 Pull Request

📋 Summary

Suppresses NuGet warning NU5104 (TreatWarningsAsErrors) which fires during dotnet pack because targeting net11.0 pulls in preview versions of Microsoft.Extensions.Hosting. This is intentional — the project explicitly supports the net11.0 preview TFM, so the preview dependency is expected.


✅ Checklist

  • My changes build cleanly
  • I've added/updated relevant tests
  • I've added/updated documentation or README
  • I've followed the coding style for this project
  • I've tested the changes locally (if applicable)

🧪 Related Issues or PRs

Closes #...


💬 Notes for Reviewers

Change is in Directory.Build.props — applies globally to all packable projects.

j-d-ha added 2 commits April 17, 2026 11:39
- Configure Dependabot to monitor Microsoft.Extensions.Http for major version updates.
- Added NU5104 to NoWarn property to ignore warnings for preview dependencies in net11.0.
@github-actions github-actions Bot added the type: fix Bug fix label Apr 17, 2026
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Apr 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #337      +/-   ##
==========================================
+ Coverage   87.38%   87.52%   +0.14%     
==========================================
  Files         113      113              
  Lines        2814     2814              
  Branches      351      351              
==========================================
+ Hits         2459     2463       +4     
+ Misses        254      250       -4     
  Partials      101      101              

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d907bf...f23b1e1. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@j-d-ha
j-d-ha merged commit 533d755 into main Apr 17, 2026
8 checks passed
@j-d-ha
j-d-ha deleted the fix/allow-pre-release-publishing branch April 17, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant