You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When multi-targeting and using DebugType = Full, the issue below is thrown. There is a minimal repro here.
Fody: An unhandled exception occurred:
Method not found: 'Mono.Collections.Generic.Collection`1<Mono.Cecil.MethodDefinition> Mono.Cecil.Cil.AsyncMethodBodyDebugInformation.get_ResumeMethods()'.
Type: System.MissingMethodException
StackTrace:
at Mono.Cecil.Pdb.NativePdbReader.Read(MethodDefinition method)
at Mono.Cecil.Cil.CodeReader.ReadMethodBody()
at Mono.Cecil.Cil.CodeReader.ReadMethodBody(MethodDefinition method)
at Mono.Cecil.MethodDefinition.<>c.<get_Body>b__41_0(MethodDefinition method, MetadataReader reader)
at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TRet& variable, TItem item, Func`3 read)
at Mono.Cecil.MethodDefinition.get_Body()
at RecursiveIlFinder.Execute(MethodDefinition getMethod)
at IlGeneratedByDependencyReader.ProcessGet(PropertyDefinition property)
at IlGeneratedByDependencyReader.Process()
at ModuleWeaver.DetectIlGeneratedByDependency(List`1 notifyNodes)
at ModuleWeaver.Execute()
at lambda_method(Closure , Object )
at InnerWeaver.ExecuteWeavers()
at InnerWeaver.Execute()
Source: Mono.Cecil.Pdb
TargetSite: Mono.Cecil.Cil.MethodDebugInformation Read(Mono.Cecil.MethodDefinition)
I was able to reproduce the error by targeting any two or more frameworks, either a mix of core and framework, all core or all full framework. That said as soon as I dropped back to a single target framework the error disappears ditto if I switch the DebugType to Portable. I assume an assumption is made when multiple target frameworks are active that the PDBs are all portable.
The text was updated successfully, but these errors were encountered:
When multi-targeting and using DebugType = Full, the issue below is thrown. There is a minimal repro here.
I was able to reproduce the error by targeting any two or more frameworks, either a mix of core and framework, all core or all full framework. That said as soon as I dropped back to a single target framework the error disappears ditto if I switch the DebugType to Portable. I assume an assumption is made when multiple target frameworks are active that the PDBs are all portable.
The text was updated successfully, but these errors were encountered: