C# - Separate project into 2 seperate projects by dependencies

146 views Asked by At

I have project A and project B. Project A use project B dll.

I want to get all the dependencies of project A out from project B and separate them into 2 different projects, project B and project C.

I want project A to use only project C.

The dependency been declared by class's(in properties, interfaces, methods body , interfaces, methods parameters, base class, attribute etc.).

Is there some way or tool to do it?
If not is there some known methodology for this mission?

1

There are 1 answers

1
user436862 On BEST ANSWER

After investigation I found out that there is not such a tool. In the end I implement a tool that does it by set a dictionary of dependencies for each type(including class, enum, methods interface, method body, properties, class members, attribute etc.)