Comments (5)
Not sure but I think it's because you setup to use Microsoft.EntityFrameworkCore.Tools
with a diff version than om.
Also is there anything else on logs?
from openmod.
I've tried resetting the server, reloaded the plugin with the right version Microsoft.EntityFrameworkCore.Tool
for and got this msg
Could not load signature of Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension:ApplyServices due to: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=3.1.19.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies.
from openmod.
Could not load signature of Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension:ApplyServices due to: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=3.1.19.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies.
[21:11:30 ERR][OpenMod.Core.Eventing.EventBus] Exception occured during event UnturnedPlayerConnected
System.TypeLoadException: Could not set up parent class, due to: Could not resolve the signature of a virtual method assembly:data-000001B6F52D7D50 type:RelationalOptionsExtension member:(null)
at OpenMod.EntityFrameworkCore.MySql.Configurator.MySqlDbContextConfigurator.Configure[TDbContext] (OpenMod.EntityFrameworkCore.OpenModDbContext1[TSelf] dbContext, Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder) [0x0004c] in /_/framework/OpenMod.EntityFrameworkCore.MySql/Configurator/MySqlDbContextConfigurator.cs:31 at OpenMod.EntityFrameworkCore.Configurator.DbContextConfiguratorCompilation+<>c__DisplayClass2_0
1[TDbContext].b__0 (OpenMod.EntityFrameworkCore.Configurator.IDbContextConfigurator x) [0x00000] in //framework/OpenMod.EntityFrameworkCore/Configurator/DbContextConfiguratorCompilation.cs:19
at MoreLinq.MoreEnumerable.ForEach[T] (System.Collections.Generic.IEnumerable1[T] source, System.Action
1[T] action) [0x0002c] in //MoreLinq/ForEach.cs:38
at OpenMod.EntityFrameworkCore.Configurator.DbContextConfiguratorCompilation.Configure[TDbContext] (OpenMod.EntityFrameworkCore.OpenModDbContext1[TSelf] dbContext, Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder) [0x00014] in /_/framework/OpenMod.EntityFrameworkCore/Configurator/DbContextConfiguratorCompilation.cs:19 at OpenMod.EntityFrameworkCore.OpenModDbContext
1[TSelf].OnConfiguring (Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder) [0x00007] in //framework/OpenMod.EntityFrameworkCore/OpenModDbContext.cs:29
at Microsoft.EntityFrameworkCore.DbContext.get_InternalServiceProvider () [0x00041] in <25b3d70e4fdd45f7a2d848578491534a>:0
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies () [0x00010] in <25b3d70e4fdd45f7a2d848578491534a>:0
at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity] () [0x00000] in <25b3d70e4fdd45f7a2d848578491534a>:0
at SBP.Db.Contexts.PlayerConnectionContext.get_UserConnectSet () [0x00000] in :0
at SBP.Events.UserLoginListener.HandleEventAsync (System.Object sender, OpenMod.Unturned.Players.Connections.Events.UnturnedPlayerConnectedEvent event) [0x0007c] in :0
at OpenMod.Core.Eventing.EventBus.EmitAsync (OpenMod.API.IOpenModComponent component, System.Object sender, OpenMod.API.Eventing.IEvent event, OpenMod.API.Eventing.EventExecutedCallback callback) [0x0035a] in //framework/OpenMod.Core/Eventing/EventBus.cs:377
from openmod.
What about
om remove Microsoft.EntityFrameworkCore.Tool
om install [email protected]
from openmod.
It seems to be fixed after some time that I havent touched it, I've commented out this line
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.32">
Thanks for helping!
from openmod.
Related Issues (20)
- Download package symbols if they are packaged as `.snupkg` HOT 1
- KeyNotFoundException at Input.Events.PlayerInputEventsListener.OnPluginKeyTick
- Set Unturned projects `Prefer32Bit` to false HOT 4
- Vehicle State in UnturnedVehicle not correct. HOT 1
- Nuget download error by ImperialPlugins from some Plugins HOT 1
- `NuGetPackageManager` installs wrong versions of dependencies HOT 2
- `packages.yaml` ignore package id in specific package
- Server crash after NuGet packages installation from `packages.yaml` HOT 1
- Ignore config.yaml and translations.yaml when plugin asks it
- UnturnedItemSpawner throwing exception HOT 1
- Duplicated event emit HOT 1
- `openmod reload` break NuGet assembly resolver HOT 1
- The server shutdown command was randomly and automatically executed HOT 2
- Problems System.Drawing HOT 2
- JobScheduler running same job multiple times
- Change yaml client
- MySQL Unity TLS error HOT 6
- New version issues HOT 7
- "UnturnedZombieDyingEvent" sometimes does not trigger as expected. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmod.