O. San
O. San

Reputation: 1177

Finding assembly dependencies in a project

I have a solution where one of the references is refering to google.protobuff v3.1.0.0, but when building the solution I get the older version google.protobuff v3.0.0.0.

From what I gather one of the other references in the project is refering to v3.0.0.0 and overriding v3.1.0.0, but how can I find who's referring to it? there are tons of references in the project.

I tried using Analyze Assembly Dependencies, but it shows that google.protobuff.dll is dangling (means no one depends on it).

Thank you, Ofir

Upvotes: 2

Views: 2808

Answers (1)

Rui Jarimba
Rui Jarimba

Reputation: 17944

You can check which project uses a particular assembly and which version, using the Solution Explorer.

Example - searching for the Newtonsoft.Json assembly:

Solution Explorer search

Also, if your assembly is coming from a Nuget package, right-click your solution and select "Manage NuGet Packages for Solution" and then "Consolidate" to check if there are different versions of the package/assembly in the solution:

Nuget consolidate

Upvotes: 4

Related Questions