Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blazor Web Assembly Error (.NET Core 8.0) #219

Open
livinglovinglaughing opened this issue Feb 20, 2024 · 0 comments
Open

Blazor Web Assembly Error (.NET Core 8.0) #219

livinglovinglaughing opened this issue Feb 20, 2024 · 0 comments

Comments

@livinglovinglaughing
Copy link

Hey, we have an error that is occuring on specific RequiredIf decorated fields and throwing an exception on validation. Do you know if there is a solution?

.NET 8
MAUI/Blazor Web Assembly

System.ComponentModel.DataAnnotations.ValidationException: RequiredIfAttribute: validation applied to InfoReceivedByOther field failed. ---> ExpressiveAnnotations.Analysis.ParseErrorException: Parse fatal error. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. File name: 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856aystem.ComponentModel.DataAnnotations.ValidationException: RequiredIfAttribute: validation applied to InfoReceivedByOther field failed. ---> ExpressiveAnnotations.Analysis.ParseErrorException: Parse fatal error. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. File name: 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant