question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

8.0.0-preview2 issues

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
slubowskycommented, Jul 13, 2018

Got it. All seems to work. Thanks!

0reactions
lock[bot]commented, Aug 20, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found