This project has moved and is read-only. For the latest updates, please go here.

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

Nov 7, 2014 at 1:00 PM
Edited Nov 7, 2014 at 1:02 PM

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?

Nov 7, 2014 at 1:19 PM
Edited Nov 7, 2014 at 1: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 1:43 PM
Ok I sorted this, need to add the Definitions reference to a different project