Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have inherited a Visual Studio 2015 solution. A couple of the assembly references are broken, and they are non-standard ones (i.e. they are not in the normal .NET installation).

Before I attempt to fix the references, it would be really useful to know where they currently point. In other words, I want to know where the projects currently expect to find the missing assemblies.

Is there a way to find this out?

Kind wishes ~ Patrick
Posted
Comments
Sergey Alexandrovich Kryukov 26-Nov-15 16:11pm    
Just look through "References" parts of all the projects, yes, before trying to fix them; what's the problem?
—SA

1 solution

Please see my comments to the question.

As I am not sure that the project of that solution even successfully load, I would do it in a simple low-level way: look at each project file, with some text editor, or rename it to "*.XML" and look an any Web browser or XML editor. You will find all references in the elements named <Reference>, child nodes of some <ItemGroup> node. That's a really simple thing.

After you do it and get the references list, you can compare it with what you really have in your GAC. One simple way to review your GAC would be creating an project from scratch and trying "Add Reference". The "Add Reference" window will show you all you currently have. Don't forget that some projects in question may reference other projects of the solution, but this is trivial thing.

—SA
 
Share this answer
 
Comments
Patrick Skelton 27-Nov-15 8:09am    
Thank you for the reply. I was actually doing something similar to your suggestion, but I must have missed one or two references. I've now done a full search-and-replace to fix the package path and the whole solution builds without error.
Sergey Alexandrovich Kryukov 27-Nov-15 17:33pm    
You are very welcome; and thank you for reporting back. I was sure you would resolve the problem.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900