Skip to content

Add netstandard2.0 target and suppress NU1701 warning#1960

Merged
Bertk merged 1 commit into
coverlet-coverage:masterfrom
Bertk:fix-package
Jun 4, 2026
Merged

Add netstandard2.0 target and suppress NU1701 warning#1960
Bertk merged 1 commit into
coverlet-coverage:masterfrom
Bertk:fix-package

Conversation

@Bertk

@Bertk Bertk commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Include netstandard2.0 in target frameworks for broader .NET compatibility in both legacy and non-legacy builds. Suppress NU1701 warning to avoid package compatibility build warnings.

Include netstandard2.0 in target frameworks for broader .NET compatibility in both legacy and non-legacy builds. Suppress NU1701 warning to avoid package compatibility build warnings.
Copilot AI review requested due to automatic review settings June 4, 2026 08:42
@Bertk Bertk added skip-changelog ignore PR for change.log document (release-drafter chore PR label for maintenance (dependencies, build, scripts) labels Jun 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR broadens coverlet.collector’s supported target frameworks by adding netstandard2.0 to both legacy and non-legacy build configurations, and suppresses NU1701 to avoid compatibility warnings during restore/build.

Changes:

  • Add netstandard2.0 to the TargetFrameworks list for both LEGACY and non-LEGACY builds.
  • Suppress NU1701 via NoWarn to prevent package-compatibility warnings from failing builds.

Comment thread src/legacy/coverlet.collector/coverlet.collector.csproj
@Bertk Bertk merged commit dfb1542 into coverlet-coverage:master Jun 4, 2026
12 checks passed
@Bertk Bertk deleted the fix-package branch June 4, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PR label for maintenance (dependencies, build, scripts) skip-changelog ignore PR for change.log document (release-drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants