I'm working with a large (270+ project) VS.Net solution. Yes, I know this is pushing the friendship with VS but it's inherited and blah blah. Anyway, to speed up the solution load and compile time I've removed all projects that I'm not currently working on... which in turn has removed those project references from the projects I want to retain. So now I'm going through a mind numbing process of adding binary references to the retained projects so that the referenced Types can be found.
Here's how I'm working at present;
- Attempt to compile, get thousands of errors, 'type or namespace missing'
- Copy the first line of the error list to the clipboard
- Using a perl script hooked up to a hotkey (AHK) I extract the type name from the error message and store it in the windows clipboard
- I paste the type name into source insight symbol browser and note the assembly containing the Type
- I go back to VS and add that assembly as a binary reference to the relevant project
So now, after about 30 mins I'm thinking there's just got to be a quicker way...