Click here to Skip to main content
15,914,322 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
Hi All,
I have a requirement that primarily focusses on Searching Interfaces, Classes, Methods and properties on the Right Click of Solution Explorer.
ex: Sample Solution currently working/running in the VSIDE
MySolution
|_ Project1
|_ MyInterface.cs
|_MyClass1.cs
|_MyClass2.cs
|_ properties
|_ AssemblyInfo.cs
|_ Project2
|_Project2interface.cs
|_Project2Class1.cs
|_ Project2Class2.cs
|_ Project2Class3.cs
I need to get all this information at this point of time
MySolution
------------------------------------------------------
| Solution Explorer-----> Right Click |
| BUILD |
| REBUILD |
| CLEAN |
| ADD .... |
| |
| Get Project Details |
---------------------------------------------
When I Click (Get Project Details). I need to get all the interface/Classes/ methods/properties in Windows Form from currently running solution.
-----------------------------------------------------------------------------
| Sample information on Windows Forms |
| MyProject1(projectName).MyInterface(interfaceName) |
| MyProject1(projectname).MyClass1(className) |
| int Add(int a, int b) |
| int Sub(int a, int b) |
| MyProject1(projectname).MyClass2(className) |
| int mult(int a, int b) |
| int Divide(int a, int b) |
| |
| MyProject2(projectname).Project2interface(interfaceName) |
| string concat(string a, string b) |
| Myproject2(projectname).Project2Class1(className) |
| string append(string a, string b) |
| Myproject2(projectname).Project2Class2(className) |
| string copy(string a, string b) |
| Myproject2(projectname).Project2Class3(className) |
| string truncate(string a, string b) |
| |
----------------------------------------------------------------------------
Important Note: Should not read from the assembly(dll file) (can't use reflection)
Please let me know what should be my approach, appreciate your help.
Thanks,
MS
Posted

1 solution

Write a Visual Studio Addin then!
For more information about Visual Studio Addins, you may safely use a google or codeproject search. It will give you some ideas.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900