Skip to content

Core 3.0 compatibility #1

@alexandrejobin

Description

@alexandrejobin

Hi!

I have used your trick to override the default styling of the error messages but now that I'm converting my project to Core 3.0, it doesn't seems to work anymore. I get the error message

System.FieldAccessException: 'Cannot set initonly static field 'ValidationInputValidCssClassName' after type 'Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper' is initialized.'

Do you have any idea how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions