This project is read-only.
1

Closed

Code generator doesn't work

description

Running the code generator and selecting any assembly with services, including the provided sample, causes a "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information".
 
 
System.Reflection.ReflectionTypeLoadException was caught
Message=Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source=mscorlib
StackTrace:
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at Kaushik.Spot.CodeGenerator.MainWindow.browse_Click(Object sender, RoutedEventArgs e) in C:\dev\kaushikspotservices-7486\Kaushik.Spot\Kaushik.Spot.CodeGenerator\CodeGenerator.xaml.cs:line 51
InnerException:
Closed May 19, 2014 at 1:17 PM by vishalkaushik
I have fixed it, in normal case this never happened though.

comments

vishalkaushik wrote Mar 31, 2012 at 6:11 PM

I think while changing target of Kaushik.Spot.Library.MF to 4.2 you must have removed reference to same in Kaushik.Spot.CodeGenerator or may be its copy local is false. This might cause similar issue.

wrote Mar 31, 2012 at 7:26 PM

wrote Feb 13, 2013 at 2:29 AM

wrote May 19, 2014 at 1:17 PM