IVisualStudioManager.GetAssembliesFromVisualStudioSolutionOrProject(IAbsoluteFilePath visualStudioSolutionOrProjectFilePath) not working.
1) Developer should be able to find the dependencies of any selected assembly or file (class level) in the solution.
2) Integrate to build system. The tool should check for allowed/disallowed dependencies. The build should fail if there are disallowed dependencies.
To satisfy the above mentioned, we tried to extend the NDepend.PowerTools by creating a new tool in the same solution.
In the tool class, we tried to use nDepend dlls to get the dependencies of all assemblies/classes in the solution. The input for the tool is the solution file.
Problem we faced:
After selecting our tool from menu and after selecting the solution file, we are not able to get all the assemblies in the solution.
The below mentioned method is not returning the actual assemblies which exists in the solution, instead its returning some random assemblies which are outside the solution.