NDepend Users Voice

IVisualStudioManager.GetAssembliesFromVisualStudioSolutionOrProject(IAbsoluteFilePath visualStudioSolutionOrProjectFilePath) not working.

Our Requirement:
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.

Our Approach:
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.
IVisualStudioManager.GetAssembliesFromVisualStudioSolutionOrProject(IAbsoluteFilePath visualStudioSolutionOrProjectFilePath)

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Anoop Kumar shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base