-
|
Hi. I need your help. When running my application, I get the following error: I searched the entire source code of LanguageExt.Core, but did not find a single type with this name. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
First off make sure you're running the latest beta, there have been over 20 updates since that release. Second, type-loads errors tend to happen when assembly references get 'out of sync', so check for mismatched assemblies or assembly redirects. If the problem still persists, see if you can isolate it, because I'll need a bit more info than what you've provided so far. |
Beta Was this translation helpful? Give feedback.
-
|
I had the same issue when I brought in another library. I was using LanguageExt 5.0.0-beta-54. I received the same error: System.TypeLoadException: Could not load type 'ListExtensions' from assembly 'LanguageExt. Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null'. When I checked the new library, it depended on LanguageExt 4.4.9. In this instance, I reverted to LanguageExt 4.4.9 with my code, which fixed the TypeLoadException. |
Beta Was this translation helpful? Give feedback.
-
|
The answer is the same. There isn't a type called So, this is nothing to do with |
Beta Was this translation helpful? Give feedback.
-
|
Found the reason for the exception. The third-party library (Akka.Persistence.Sql) that I use in the project uses LanguageExt.Core 4.4.9. Therefore, it cannot find the ListExtensions class. |
Beta Was this translation helpful? Give feedback.
Found the reason for the exception. The third-party library (Akka.Persistence.Sql) that I use in the project uses LanguageExt.Core 4.4.9. Therefore, it cannot find the ListExtensions class.