It's happened again. Follow
I have just installed a third-party component from www.o2sol.com. I created a new project (console application) to test the evaluation product. For some reason, RS4 lost all references to Intellisense completion. Ok, it was no problem to reset the options but how on earth are they getting switched off? I find it hard to believe the third-party installation could have done it so I must now think that RS has lost its marbles, yet again. For quite a while, I've been caching into the temp folder and not the solution. Yet again, something has switched it to use the solution for the local caches. Why, oh, why do I still get this problem? I'm not resetting anything in RS' options so how are these settings getting changed if I'm not doing it. It really is very frustrating and irritating. I'm of the mind to run a batch file to copy a saved folder of the settings each time I login but I should not have to do that. Does anyone have any idea why my settings are still getting changed? I've not installed anything new apart from the automated Windows XP updates but that can't be it? I'm using the same version I installed when RS4 was officially sanctioned as a finalised product. (Sigh)
Please sign in to leave a comment.
I have encountered instances where installation of one VS addin affected (or was affected by) other VS addins, so I would not automatically rule out a problem with interaction between addins. But I don't have experience with writing VS addins so I cannot say under what circumstances they interact (or may have their settings "reset").
Have you installed VS SP1 recently? Might it be involved in the resetting of options?
The thing is, the configuration files are exclusive to JB so I'm still very puzzled how a non-JB application or add-in can have any knowledge about JB's configuration. It's almost as if RS is intentionally changing it even though I'm not launching the options dialog to edit the settings. I could understand if RS needs to change something if it has to but the subtle changes going on under the hood are almost too intentional to be an accident. (puzzled).
Maybe I need to write a .Net app using the file system watcher component to monitor the configuration file every second or so and see when it's getting changed. :)
It is strange, but from what you described it sounded like RS went back to its default settings, rather than only one setting changing, or a setting changing from the default to a non-default value. Did your VS toolbar layout also change due to an installation?
I know of cases where having one particular addin already installed causes other installation/uninstallation of other addins to enconter problems (VS crashes), so there is definiteley some sort of interaction going on somewhere.
Note that I am not ruling our RS as having a bug, but if this problem is only seen with the particular addin you mentioned then it is a bit riskier to assign responsibility at this time.
My toolbars are still the same. The only add-ins I have in .Net 2008 are RS and GhostDoc for VS 2008. Not all the settings are being reset however. Most seem to be preserved but one of the regular settings I notice immediately is the option to switch between brace outlining and box outlining. As soon as I see that switch back to brace outlining, I know something got smashed. I may have lost other settings but those are the rarely used ones which I'd probably not notice immediately. Sometimes, I have to exit VS and reload the solution because Intellisense gets biffed as well but I can't say for sure if that happens at the same time I lose some of my settings.
Thanks for the clarification. I am not sure you need to go to the extent of writing an application to monitor the settings, but it should not be difficult to do. A first step might be simply to check the timestamp on the settings file before/after VS sessions and/or addin install/uninstall. You could also maybe make the settings file read-only?
Read-only. I never thought of that. I'll set the attributes when I'm at the office tomorrow. Maybe that will nail the critter that's changing them, unless, it's a smart critter...