alexdresko wrote:
Hi Frans,
Hopefully, you'll see the post even though it's in the General Chat forum.
Anyway, I have a need to create an application that will add/remove files from a vbproj or csproj file. Since LLBLGen does this really well, I was curious what technique you use.
Do you open the file as XML and modify it that way? Or do you use a token based approach with LLBLGen's built in code generator? Or maybe you use the DTE automation objects? etc....
Thanks for the tip!
Download the SDK sourcecode and you'll know it
It's done using XML. I load the project file as XML into an XML dom and then find the parent element for the files, then clear it and add new nodes to it