VM exception: Не удалось загрузить тип
Здравствуйте,
Есть .net проект из двух одномодульных сборок (exe и dll).
Использую автоматическую защиту. Для exe "Защищаемые функции" выбираются "Вручную", для dll -- "Автоматически".
Для dll выбраны все три галки обфускатора, для exe "Шифровать строки" не выбрано.
При вызовах в exe функции из dll получаю нижеприведенное сообщение.
Известная проблема? Я могу что-нибудь с этим сделать?
Заранее спасибо.
---------------------------
VM exception
---------------------------
Method ID: 230
Exception Data:System.TypeLoadException: Не удалось загрузить тип "netDxf.DxfDocument" из сборки "DxfIO, Version=0.1.2.0, Culture=neutral, PublicKeyToken=null".
в System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)
в System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
в System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
в VM.TypeCreator.ProcessPrimitiveType()
в VM.TypeCreator.ParseType()
в VM.TypeCreator.ParseType(String typeString, Module context)
в VM.MethodCreator.ParseType(String typeLine, Boolean& bPinned)
в VM.MethodCreator.EmitLocalVar(String varLine)
в VM.MethodCreator.EmitLocalVars()
в VM.MethodCreator.FillDynamicMethod()
в VM.MethodCreator.MakeNewMethod()
в VM.MethodCreator.CreateNewMethod(Byte[] zippedArray)
в VM.GlobalDataManager.GetDelegate(Int32 methodID)
в VM.VirtualMachine.Inject(String methodID)
---------------------------
ОК
---------------------------