-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Counter strike sharp doesn't have CCSGOViewModel anymore?
Error:
21:03:49 [EROR] (cssharp:Core) Error invoking callback
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeLoadException: Could not load type 'CounterStrikeSharp.API.Core.CCSGOViewModel' from assembly 'CounterStrikeSharp.API, Version=1.0.335.0, Culture=neutral, PublicKeyToken=null'.
at CS2ScreenMenuAPI.MenuRenderer.CreateInitialInvisibleWorldTextEntity()
at CS2ScreenMenuAPI.MenuRenderer.Draw() in C:\Users\suira\Documents\GitHub\CS2ScreenMenuAPI\src\MenuRenderer\MenuRenderer.cs:line 71
at CS2ScreenMenuAPI.MenuRenderer.Tick() in C:\Users\suira\Documents\GitHub\CS2ScreenMenuAPI\src\MenuRenderer\MenuRenderer.cs:line 65
at CS2ScreenMenuAPI.Menu.OnTick() in C:\Users\suira\Documents\GitHub\CS2ScreenMenuAPI\src\Internal\Menu.cs:line 691
at InvokeStub_OnTick.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at CounterStrikeSharp.API.Core.BasePlugin.<>c__DisplayClass51_01.<RegisterListener>b__2(ScriptContext context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/BasePlugin.cs:line 298 at InvokeStub_Action1.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context)