CounterStrikeSharp
CounterStrikeSharp copied to clipboard
CounterStrikeSharp V305 in conflict!!
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.
for me this looks like a faulty dependency, check your plugins and their dependencies maybe
I just checked I have the latest plugin and the latest dependencies of each plugin I have the problem with V305.
it blames the simpleadmin plugin for each, this does not happen on lower artifacts? only 305?
If I did the tests between versions V300 to V305 it does the same on all versions.
you probably need to update the shared dependencies aswell, not just the plugins
I checked the plugins, they are all up to date, same for the dependencies.
one of the plugins is compiled with an old version of the API. recompile all plugins using the same dll API
I understand but how do I recompile them with the new DLL?
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)