#System.TypeLoadException: Could not resolve type with token 0100000d from typeref

1 messages · Page 1 of 1 (latest)

errant sleet
#

Plugin fails to load with this exception

[2026-04-20 20:45:36.151 -04:00] [ERROR] [LabApi] System.TypeLoadException: Could not resolve type with token 0100000d from typeref (expected class 'System.Runtime.CompilerServices.NullableContextAttribute' in assembly 'System.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
                                   at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesDataInternal(System.Reflection.ICustomAttributeProvider)```
#

Related to CommandSystem.Core.dll and ICommand in some way? removing ICommand and stopping the plugin from loading commands "fixes" this

spark tulip
#

change the TargetFramework property to net48 in the csproj

errant sleet
#

it keeps generating a GlobalUsings.g.cs file

#

despite the fact net48 doesnt support it

#

nvm

#

<ImplicitUsings>disable</ImplicitUsings>

#

needed this

spark tulip
#

It should

spark tulip
errant sleet
#

yeah

#

i can

#

but i dont wanna touch it lol

spark tulip
#

Bruh

errant sleet
#

it works now

#

i dont wanna break what's already working ClassDClueless

spark tulip
errant sleet
#

okay <3

#

yay <3

#

seems like it works now :3

#

yayyy ^^

fallow dirge