An item with the same key has already been added. Key: 27
The type initializer for 'NeptuneEvo.Core.Customization' threw an exception.
Exception has been thrown by the target of an invocation.
-> Error starting 'client'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'NeptuneEvo.Core.Customization' threw an exception.
---> System.ArgumentException: An item with the same key has already been added. Key: 27
at bool System.Collections.Generic.Dictionary<TKey, TValue>.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at void System.Collections.Generic.Dictionary<TKey, TValue>.Add(TKey key, TValue value)
at static NeptuneEvo.Core.Customization() in C:/server/dotnet/resources/client/Core/Customization.cs:line 1245
--- End of inner exception stack trace ---
at new NeptuneEvo.Core.Customization() in C:/server/dotnet/resources/client/Core/Customization.cs:line 265
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at GTANetworkInternals.GameServer.InstantiateScripts(Assembly targetAssembly, String resourceName)+MoveNext()
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)
Вылазит такая ошибка при запуске, что могло пойти не так?
The type initializer for 'NeptuneEvo.Core.Customization' threw an exception.
Exception has been thrown by the target of an invocation.
-> Error starting 'client'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'NeptuneEvo.Core.Customization' threw an exception.
---> System.ArgumentException: An item with the same key has already been added. Key: 27
at bool System.Collections.Generic.Dictionary<TKey, TValue>.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at void System.Collections.Generic.Dictionary<TKey, TValue>.Add(TKey key, TValue value)
at static NeptuneEvo.Core.Customization() in C:/server/dotnet/resources/client/Core/Customization.cs:line 1245
--- End of inner exception stack trace ---
at new NeptuneEvo.Core.Customization() in C:/server/dotnet/resources/client/Core/Customization.cs:line 265
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at GTANetworkInternals.GameServer.InstantiateScripts(Assembly targetAssembly, String resourceName)+MoveNext()
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)
Вылазит такая ошибка при запуске, что могло пойти не так?