sync xml
i finished now the creation of the xml, which is the base to find the methods in the source files. it looks as follows:
<symbols file="C:\SharedCodeDocTestProjects\PdbTest\SharedCodeDoc.dll">
<files>
<file id="1" name="c:\SharedCodeDocTestProjects\CompilationTest\Class1.cs" />
<file id="2" name="c:\SharedCodeDocTestProjects\CompilationTest\Class2.cs" />
</files>
<metainfo>
<class name="CommentExample.CommentDelegate" />
<enum name="CommentExample.Color" />
<class name="CommentExample.Comments">
...
</class>
<enum name="CommentExample.Comments+CommentPriority" />
<struct name="CommentExample.Point">
<attribute name="x" type="Int32" file_ref="1" />
<constructor name=".ctor" file_ref="1">
<param>Int32</param>
</constructor>
</struct>
<class name="CommentExample.Comments2">
<attribute name="comment" type="String" file_ref="2" />
<attribute name="commentEvent" type="CommentDelegate" file_ref="2" />
<property name="Comment2" type="String" file_ref="2" />
<event name="commentEvent" type="CommentDelegate" file_ref="2" />
<constructor name=".ctor" file_ref="2" />
<constructor name=".ctor" file_ref="2">
<param>String</param>
</constructor>
<method name="get_Comment2" file_ref="2" />
<method name="set_Comment2" file_ref="2">
<param>String</param>
</method>
<method name="Main" file_ref="2">
<param>String[]</param>
</method>
<method name="UpperCase2" file_ref="2">
<param>Int32</param>
</method>
</class>
...
</metainfo>
</symbols>
i think it should be usable for the synchronisation. unfortunately it is not possible to print out the correct sourceline of the methods. the reader has a method, which should exactly do that. but unfortunately this method isn't implemented. but i have the correct method name. and can search after it.
i also changed the project from .net 1.1 to 2.0. i must replace the wilson master page with them from microsoft. because wilson master page didn't function correctly. when you try to execute the project. note that you first install the new .net version on the iis.
ok, that's all for the moment.

0 Comments:
Post a Comment
<< Home