I am not sure if we are the only ones that run into this, but we have multiple projects in our solution and when large change are made we almost always get the following type of error, which is a pain to track down without digging up more information.
Server Error in '/WebUI' Application.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.Assembly.GetTypes() +159
System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog() +126
System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_Parts() +9
lambda_method(Closure , ComposablePartCatalog ) +20
System.Linq.d__142.MoveNext() +267 System.Linq.<SelectManyIterator>d__14
2.MoveNext() +507
System.Collections.Generic.List1..ctor(IEnumerable
1 collection) +472
MefContrib.Hosting.Interception.InterceptingCatalog.GetParts() +132
System.ComponentModel.Composition.Primitives.ComposablePartCatalog.GetExports(ImportDefinition definition) +139
MefContrib.Hosting.Interception.InterceptingCatalog.GetExports(ImportDefinition definition) +51
System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) +188
System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition) +78
System.ComponentModel.Composition.Hosting.AggregateExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) +212
System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable`1& exports) +47
System.ComponentModel.Composition.Hosting.CompositionContainer.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) +100
System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition) +78
System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(Type type, Type metadataViewType, String contractName) +52
MefContrib.Web.Mvc.CompositionDependencyResolver.GetService(Type serviceType) +33