TypeLoadException??

  • Thread starter Thread starter Sageda
  • Start date Start date
S

Sageda

I'm implemeting an application for a smartdevice using c# and all
through the implementation things were goin fine, and suddenly the
same function that was called peacefully started generating a
TypeLoadExcpetion. I don't understand why.
This is t the function call:

try
{

exporter.Export(this.currentProject, fileName);
}
catch (TypeLoadException ee)
{
MessageBox.Show("second" + ee.Message);
}


and this is the function until the exception takes place:

public void Export(Projects project, string filename)
{
s.WriteLine("here2");
s.WriteLine(project.getpID().ToString());
s.WriteLine(filename);
XmlDocument myDoc = new XmlDocument();



If anyone knows the solution, please inform me..
Thanks

Sageda

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
You'll need to provide more information. Do you have a small but
complete sample that can demonstrate the problem? Have you tried
stepping through the method with the debugger?
 
I fixed it thanks.. I still don't understand what the problem was, bas
it's not there anymore..

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
Back
Top