Skip to content

Extensions samples should not set SuppressTfmSupportBuildWarnings #217

Open
@ViktorHofer

Description

@ViktorHofer

<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>

The SuppressTfmSupportBuildWarnings switch shouldn't be used in samples as it's a workaround to temporarily allow runtimes to consume a package that doesn't support that runtime anymore by falling back to the netstandard2.0 implementation. For System.* packages this switch might not work and we clearly document that this is an unsupported and untested scenario: https://github.com/dotnet/runtime/blob/28a069017673a03473fdd06e8d693a91e3eb9fbb/eng/packaging.targets#L222

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions