Reading XML During Template Generation

Posts   
 
    
Posts: 13
Joined: 21-Nov-2006
# Posted on: 19-Jun-2007 21:19:48   

I am trying to create an .LPT template that consumes not only the meta data from the project, but another xml structure from disk. I want to do this with the System.Xml.Serialization namespace, but when I add the <[System.Xml]> tag I get an assembly reference problem. How can I add this reference, so that when it compiles the template it will build?

Thanks!

-Casey

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39776
Joined: 17-Aug-2003
# Posted on: 20-Jun-2007 11:02:10   

Use <$System.Xml.dll$>

I don't think the full path is required.

Frans Bouma | Lead developer LLBLGen Pro