CounterStrikeSharp icon indicating copy to clipboard operation
CounterStrikeSharp copied to clipboard

CounterStrikeSharp V305 in conflict!!

Open Geant200 opened this issue 9 months ago • 9 comments

Hello.

I just updated CounterStrikeSharp to version V305 it conflicts with all the plugins I installed I installed all the latest versions of the plugins same result can you tell me if it comes from CounterStrikeSharp or should I wait for an update of the plugins installed on my server?

2025-02-26 15:26:19.562 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\CS2-CustomVotes\CS2-CustomVotes.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2025-02-26 15:26:19.596 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\CS2-Remove-Map-Weapons\CS2-Remove-Map-Weapons.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2025-02-26 15:26:19.639 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\CS2-SimpleAdmin\CS2-SimpleAdmin.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2025-02-26 15:26:19.664 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\CS2-Tags\CS2-Tags.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2025-02-26 15:26:19.754 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\GameModeManager\GameModeManager.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2025-02-26 15:26:19.800 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\Map-Configs-GoldKingZ\Map-Configs-GoldKingZ.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2025-02-26 15:26:19.930 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\MenuManagerCore\MenuManagerCore.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2025-02-26 15:26:20.036 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\PlayerSettings\PlayerSettings.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
2025-02-26 15:26:20.145 +01:00 [EROR] (cssharp:PluginManager) Failed to load plugin from E:\AMPDatastore\Instances\War-TeamFr-ServeurPrincipal01\counter-strike2\730\game\csgo\addons\counterstrikesharp\plugins\WASDMenuAPI\WASDMenuAPI.dll
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.<>c.<Load>b__30_3(Assembly assembly) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 168
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 167
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125
   at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
System.TypeLoadException: Method 'add_OnAdminShowActivity' in type 'CS2_SimpleAdmin.Api.CS2_SimpleAdminApi' from assembly 'CS2-SimpleAdmin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Thank you in advance.

Geant200 avatar Feb 27 '25 14:02 Geant200

for me this looks like a faulty dependency, check your plugins and their dependencies maybe

KillStr3aK avatar Feb 27 '25 23:02 KillStr3aK

I just checked I have the latest plugin and the latest dependencies of each plugin I have the problem with V305.

Geant200 avatar Feb 27 '25 23:02 Geant200

it blames the simpleadmin plugin for each, this does not happen on lower artifacts? only 305?

KillStr3aK avatar Mar 01 '25 15:03 KillStr3aK

If I did the tests between versions V300 to V305 it does the same on all versions.

Geant200 avatar Mar 01 '25 17:03 Geant200

you probably need to update the shared dependencies aswell, not just the plugins

KillStr3aK avatar Mar 01 '25 17:03 KillStr3aK

I checked the plugins, they are all up to date, same for the dependencies.

Geant200 avatar Mar 01 '25 22:03 Geant200

one of the plugins is compiled with an old version of the API. recompile all plugins using the same dll API

darkerz7 avatar Mar 04 '25 10:03 darkerz7

I understand but how do I recompile them with the new DLL?

Geant200 avatar Mar 04 '25 13:03 Geant200

I understand but how do I recompile them with the new DLL?

download source code from github. compile using files in cs# or visualstudio. I recommend Visualstudio (.NET 8.0)

darkerz7 avatar Mar 05 '25 05:03 darkerz7