This project has moved. For the latest updates, please go here.

Can't find defnition for EdiFabric.Definitions.Edifact_12_COMTFR.M_COMTFR

Nov 7, 2014 at 12:00 PM
Edited Nov 7, 2014 at 12:02 PM
Hi,

I am getting the above exception although I have created this class file from my xsd using EdiFabric.Xsd2Code.exe. I have added the code to Definitions, and added the references.

Is there something fundamental im missing, ive checked your code and its clear that .net isnt getting my class via this line "var systemType = Type.GetType(typeName + assemblyName);" and i fear im being stupid because that class is available in class view, just .net isnt seing it.

Does my calling code have to be in a specific namespace for the helper class to work?

Ian
Nov 7, 2014 at 12:19 PM
Edited Nov 7, 2014 at 12:20 PM
I think ive found the issue, I need to provide a "Assembly Qualified" name to GetParseTree as my Definition isn't in the current executing assembly, any ideas, would this be a Feature request, If you want I could add the amendment and contribute to your project?
Nov 7, 2014 at 12:43 PM
Ok I sorted this, need to add the Definitions reference to a different project