SourcetrailDotnetIndexer
SourcetrailDotnetIndexer copied to clipboard
ReflectionTypeLoadException
Error name:
Exception indexing assemby 'xxx\SourcetrailDotnetIndexer-main\SourcetrailDotnetIndexer\bin\Debug\test\xxx.dll' System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Hi,
There is another error I met when indexing assembly

The .pdb file is a type of Program Debug Database,

And it shows like this

Do you have any idea about why this exception exists?
Hope to get your help!
I don't think, the PDB is the issue here.
As the output states, the assembly System.Windows.Forms cannot be found.
For assemblies that are part of the .NET Framework (like the mentioned one), you have to specify the path to the Framework-Assemblies using the -s switch, e.g. -s C:\Windows\Microsoft.NET\Framework64\v4.0.30319.
(assuming, your app is a x64-bit app, if it's x86, replace Framework64 with Framework in the path)
Depending on the Version of the Framework your app is using, the path will be different.
Give it a try, it should work ! ;-)