Hi,
Is there a fast way or even a build in mechanism to detect if a pdb
file is referenced from the assembly and if I have to load it or not.
At the moment I am using:
var parameters = new ReaderParameters
{
SymbolReaderProvider = new PdbReaderProvider(),
ReadingMode = ReadingMode.Immediate,
AssemblyResolver = resolver,
};
ModuleDefinition =
ModuleDefinition.ReadModule(SourceAssemblyFileName, parameters);
Which leads to an exception if the pdb file is not found. But I need a
logic where I can ask the assembly if there is a pdb referenced and if
it is available to load it.
Jan
--
--
mono-cecil