Skip to content

Microsoft.Build.Framework should produce an error when consumed by net9.0 project or earlier #13034

@Youssef1313

Description

@Youssef1313

Issue Description

See nunit/nunit3-vs-adapter#1404.

The package doesn't support net9.0 or earlier. However, it still restores and builds correctly, and will then fail at runtime.

Steps to Reproduce

See linked issue.

Expected Behavior

Error at compile-time

Actual Behavior

Fails only at runtime.

Analysis

No response

Versions & Configurations

No response

Metadata

Metadata

Assignees

Labels

Area: DocumentationIssues about docs, including errors and areas we should extend (this repo and learn.microsoft.com)triaged

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions