Home > front end >  How to find which Visual Studio Dependency is using a particular DLL?
How to find which Visual Studio Dependency is using a particular DLL?

Time:12-16

I have a VS 2022 solution with approximately 100 projects in it. One particular project references several other projects, and also pulls in a dozen nuget packages.

When I build that project, it includes Microsoft.ApplicationInsights.dll in the bin folder. My project doesn't use it.

Is there a fast way to find out which dependency is including it in the bin? Thanks

CodePudding user response:

Your project doesn't use it directly, but maybe a NuGet package uses it. Maybe you can try the NDepend choose assemblies NDepend Dependency Graph

You can also right click the assembly > Show on Dependency Grap to see direct callers

Right-click  shown on dependency graph

Usage of an assembly

  • Related