TypeLoadException at startup of WCF
- by Kelly
I get the following error long before I hit the breakpoint at Main().
System.Reflection.ReflectionTypeLoadException:
Unable to load one or more of the
requested types. Retrieve the
LoaderExceptions property for more
information. at
System.Reflection.Module._GetTypesInternal(StackCrawlMark&
stackMark) at
System.Reflection.Assembly.GetTypes()
at
Microsoft.Tools.SvcHost.ServiceHostHelper.LoadServiceAssembly(String
svcAssemblyPath)
There is a suggestion that it might be a configuration error, but I don't see it when comparing to a similar, working example.
How do I "Retrieve the LoaderExceptions property" when it happens this early?
Thanks!