Skip to content

Make the C# language check a warning instead of an error #51

@kzu

Description

@kzu

Currently we report an error (both on BeforeCompile and CoreCompile) when we detect the project language isn't C# 9.0+.

This breaks a few IDE experiences since right after package installation, all design-time builds and real builds are effectively broken, which isn't a great uex.

By making it a warning instead, we give the user the chance to build, see it, perhaps attempt to type ThisAssembly and see that nothing happens, and then cleanly uninstall the package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions