I have a huge solution file with lots of projects in it. I suspect that some of the projects that are referenced to by other projects are missing from solution. Is there an easy way to detect missing references in Visual Studio? (I am using 2008)
Asked
Active
Viewed 1,672 times
3 Answers
0
I use the macro FindMissingFiles from here which is a modification of HOWTO: Navigate the files of a solution from a Visual Studio .NET macro or add-in. It's pretty raw but does the job.

Ed Harling
- 74
- 3
-
But it only finds missing files, not referenced projects. – Lev Apr 09 '14 at 07:08
0
If you try and compile and references are missing Visual Studio will give you compile errors for the missing references.

RobV
- 28,022
- 11
- 77
- 119
-
It seems that Visual Studio only detect direct missing references. But if a dll references another dll, it won't detect it and crash when running. – Julien N Dec 20 '13 at 11:22
-
Visual Studio 2012 refuses to compile the SLN: http://stackoverflow.com/questions/14573411/visual-studio-2012-the-project-file-has-been-renamed-or-is-no-longer-in-the-s – Lev Apr 09 '14 at 07:02
-
1But if you compile with msbuild, you'll get linker errors for missing references. – Lev Apr 09 '14 at 12:08
0
A quick Google based on your subject turned up Reference Assistant. Which has a 30 day free trial.
Disclaimer: I haven't used the product or any of the companies products.

si618
- 16,580
- 12
- 67
- 84