Skip to content

Confusing warning when Extensions are used with .NET Framework TFM #5162

Open
@xakep139

Description

@xakep139

When one of Extensions package is referenced in a .NET FX application, there will be a warning emitted:

warning : Microsoft.Extensions.Compliance.Abstractions 8.2.0 doesn't support net462 and has not been tested with it. Consider upgrading your TargetFramework to net6.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.

This is really confusing for users and we need to consider rephrasing or maybe removing it.

cc @joperezr @danmoseley @reyang

Metadata

Metadata

Assignees

Labels

area-infrastructurebugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions