8.0.0-preview2 issues
See original GitHub issueI tried out 8.0.0 preview 2 and couldnt get it to work for me. Only changes I made to my code working with version 7.6.104 was to change all SetCollectionValidator calls to use RuleForEach instead. (Edit - going back to version 7.6.104 but leaving these changes in places everything works as expected.)
1)Some of my tests are now failing with errors like:
Message: Test method
MyTestMethod threw exception:
System.MissingMethodException: Method not found: 'FluentValidation.IRuleBuilderInitial`2<!0,!!0> FluentValidation.AbstractValidator`1.RuleForEach(System.Linq.Expressions.Expression`1<System.Func`2<!0,System.Collections.Generic.IEnumerable`1<!!0>>>)'.
2)Trying to use async validation at runtime I get lots of errors, things like:
Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware:Error: An unhandled exception has occurred while executing the request.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load type 'FluentValidation.Validators.AsyncValidatorBase' from assembly 'FluentValidation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7de548da2fbae0f0'.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Issues
NET 8.0 Preview 2, Create a 7.0/6.0 Blazor WebAssembly app with a warning and error: "Unable to find package Microsoft.NETCore.App.Runtime.
Read more >NET 8.0.0 Preview 2 - March 14, 2023
NET 8.0.0 Preview 2 and .NET SDK 8.0.100-preview.2.23157.25 releases are available for download. The latest 8.0 release is always listed at .
Read more >ASP.NET Core updates in .NET 8 Preview 2
NET 8 Preview 2 is now available and includes many great new improvements to ASP.NET Core. Here's a summary of what's new in...
Read more >Announcing .NET 8 Preview 2
NET 8 Preview 2 for Linux, macOS, and Windows. Installers and binaries · Container images · Release notes · Known issues · GitHub...
Read more >NET Core 8.0.0-preview.1
Release 8.0.0-preview.1 of .NET Core, released on 2023-02-21. versionsof.net gives an overview of all releases and versions of .NET Core.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Got it. All seems to work. Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.