I've made a custom Visual Studio tool that uses a C# parser(http://www.codeplex.com/csparser/) to convert C# code into an XMLrepresentation. So far only the declaration stuff, classes, methodsignatures etc.I then have a XSLT template engine that takes the XML and a templatefile to generate content.Templates look like:<% for-each /namespace/class[attribute/@type='ServerModel'] %>public class <%@name%>{}<%/for-each%>Easy stuff if you are happy with XSLT.Currently I use it to generate proxies to classes in my Mobile MVPlibrary. There are lots of uses I imagine.Are there any other similar tools out there? If not what are theprefered places to release this? I took a look at CodePlex but theTFS source control made me shudder. I'm much more at home with SVN...
Powered by: newtelligence dasBlog 2.2.8279.16125
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Andrew Davey
E-mail