0

我试图从 exe 文件中访问方法列表,同时尝试加载程序集

Assembly asm = Assembly.LoadFrom(file.exe);

我在下面收到错误。我从调试窗口的本地部分复制了这些。希望有人可以帮助解决这个问题。

    DefinedTypes    Function evaluation timed out.  System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo>

    EntryPoint  Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. System.Reflection.MethodInfo

    EscapedCodeBase Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. string

    Evidence    Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. System.Security.Policy.Evidence

    ExportedTypes   Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. System.Collections.Generic.IEnumerable<System.Type>

    FullName    Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. string

    GlobalAssemblyCache Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. bool

    HostContext Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. long

    ImageRuntimeVersion Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation.
string

    IsDynamic   Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. bool

    IsFullyTrusted  Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. bool

    Location
Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. string

    ManifestModule  Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. System.Reflection.Module

    Modules Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. System.Collections.Generic.IEnumerable<System.Reflection.Module>

    PermissionSet   Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. System.Security.PermissionSet

    ReflectionOnly  Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. bool



    SecurityRuleSet Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation. System.Security.SecurityRuleSet
4

1 回答 1

0

您可能缺少一些依赖项,但我们不能确定,因为您发布的异常几乎没有提供任何信息。

他们说,您应该步进调试器以获取正确的异常信息。

也许您可以再试一次,并发布一些有用的可读异常。

于 2013-11-07T18:29:16.530 回答