The best algorithm to get information (class, methos, enum, ...) in C# project
-
Hi all, Curently, I have a big solution (include C#, VB, C++ projects). LOC of this solution is about 1000 KLOC. I want to create a tool to get all information in source file as below: class, method, enum, parameter of method, all place in source code where use class or method, ... Can you help me to find the best algorithm to get these information? Thanks for your support.
-
Hi all, Curently, I have a big solution (include C#, VB, C++ projects). LOC of this solution is about 1000 KLOC. I want to create a tool to get all information in source file as below: class, method, enum, parameter of method, all place in source code where use class or method, ... Can you help me to find the best algorithm to get these information? Thanks for your support.
Visual Studio already has a tool like that: is the Object Browser (you can show it from the View menu). IT shows a hierachical view of all the assemblies in your solution, with namespaces, classes, fields, properties, methods, etc. (if you provided XML comments for the shown items, the informations you have provided through them are shown too). To show informations about places in source code where a class or method is used, you can right-click on the item in the Object Browser and select Find All References.
-
Visual Studio already has a tool like that: is the Object Browser (you can show it from the View menu). IT shows a hierachical view of all the assemblies in your solution, with namespaces, classes, fields, properties, methods, etc. (if you provided XML comments for the shown items, the informations you have provided through them are shown too). To show informations about places in source code where a class or method is used, you can right-click on the item in the Object Browser and select Find All References.
Thanks for your answer. But I still want to build my own tool :). Beside, I also have a solution2 that reference to solution1 (location of them in different folder). And this tool can be search in both solution (just give it the location, and it will return the result)
-
Hi all, Curently, I have a big solution (include C#, VB, C++ projects). LOC of this solution is about 1000 KLOC. I want to create a tool to get all information in source file as below: class, method, enum, parameter of method, all place in source code where use class or method, ... Can you help me to find the best algorithm to get these information? Thanks for your support.
Have VS produce XML documentation and read that.
-
Have VS produce XML documentation and read that.