C#C
C#17mo ago
Andershow38

✅ Errors with my API

Hello everyone, I'm new about API's and I've struggled a lot when I try to deploy my API on railway. I've tried many times but I just can't make it work...
Locally it does work as it should however online on railway I've got many mistakes and the biggest one that I have no clue how to solve is this one:

Unhandled exception. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.

Unhandled exception. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.

Could not load file or assembly 'Microsoft.EntityFrameworkCore.Relational, Version=8.0.7.0, Culture=neutral, PublicKeyToken=xxxxxxx'. The system cannot find the file specified.
Was this page helpful?