System.Xml in .lpt

Posts   
 
    
Dja
User
Posts: 29
Joined: 22-Jul-2010
# Posted on: 23-Jul-2010 10:54:25   

Hi, I have a problem with assembly System.Xml.dll. Anything I reference from this assembly (XmlDocument, for example) will not be compiled. IntelliSense will see this class, but, when I try to generate code, I keep getting "The type or namespace name 'XmlDocument' does not exist in the namespace 'System.Xml' (are you missing an assembly reference?)". What might be the problem?

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 23-Jul-2010 21:16:10   

You have to add an assembly reference to the lpt template and namespace like documented here: http://www.llblgen.com/documentation/3.0/SDK/hh_goto.htm#templates_lpt.htm

David Elizondo | LLBLGen Support Team
Dja
User
Posts: 29
Joined: 22-Jul-2010
# Posted on: 26-Jul-2010 10:38:21   

Thanks! Works great.