Concurrency Bug in all editions of Visual Studio
secretGeek .:dot Nuts about dot Net:.
home .: about .: sign up .: sitemap .: secretGeek RSS

Concurrency Bug in all editions of Visual Studio

more than 1 visual studio open... settings will be gazumped

You often have more than one copy of visual studio open. When you change a setting in visual studio, the change will be wiped out if you close another copy of visual studio after you close the current one.

This is a frustrating bug, and one that could be addressed in simple ways. The best approach would be if settings were merged together. Say I've changed the C# settings in one instance of visual studio, and I've changed the tool box settings in another instance. There's no conflict there, so all settings could be merged together.

Okay, so that's difficult. How about if settings are only saved then they've been changed. That would be enough to fix a good percentage (perhaps the majority) of problems with concurrency.

The current "Last In Wins" approach is really out of place -- when you consider how much effort they've put into the rest of the settings architecture. There's at least fifteen pages about settings at msdn..





'Simon' on Wed, 25 Oct 2006 06:43:05 GMT, sez:

I'm glad it's not just me. I've been irritated by this for a while now.



'Locutus of Borg' on Wed, 25 Oct 2006 06:45:07 GMT, sez:

+1 SecretGeek
I mean, how hard is it to persist the options when you press OK on the options window?



'Russell' on Wed, 25 Oct 2006 13:08:17 GMT, sez:

No kidding. Pain in the ass. I shouldn't be THAT hard to have a shared config mechanism.



'Bill McCarthy' on Wed, 25 Oct 2006 19:33:27 GMT, sez:

But what if I really do want the last in wins behaviour ? In fact, isn't that going to be the more common scenario once you have things as you like ?

Take for example, you have your IDE all nicely setup, but then you have this one project you want to change settings for, such as debugging settings. You probably don't want that messing with any other instances of the IDE you have open.

Unfortunately the behaviour is inconsistant in that you can only "temporarily" apply changes if you have another instance open. IDeally you should be able to apply the changes to (1) this instance only, or (2) all instances.

In the case of (2), ideally there would be notification to any opne instances of the IDE, but this may be a bit more complex such as when you are in debug mode, and the change impacts on the debug information, hence requiring debugging to close and re-start. In those cases, perhaps a message box warning, and the option to delay the update till the mode changes, etc.



'lb' on Wed, 25 Oct 2006 21:39:47 GMT, sez:

Good to hear from ya Bill!

>ideally there would be notification to any
>open instances of the IDE

yeh -- i think this would be overkill. I'd be happy with any improvement on the status quo, without any risk of breaking things.

>for example, you have your IDE all nicely >setup, but then you have this one project >you want to change settings for, such as >debugging settings

then you'd have to change that setting back later! not too hard. maybe.

the alternative:

>be able to apply the changes to
>(1) this instance only,
>or (2) >all instances.

that sounds a bit like one of those nasty "in your face" type settings... didn't Word used to ask the same question whenever normal.dot changed? yuck... things...

i guess there could be a setting somewhere that says
"when i change settings:
(_) save them immediately or
(_) don't save them (just keep them for this instance) or
(_) save them at shut down time"








'AsbjornM' on Sun, 12 Nov 2006 12:02:15 GMT, sez:

This should be easy.. every instance should whatch the configuration, when it's changed eiterh from notepad (if possible), or other instance, then settings should be reloaded by other instances and merged there, then you would not have any strange behaviour when closing the last instance.




name


website (optional)


enter the word:
 

comment (HTML not allowed)


All viewpoints welcome. But the right to delete any post for any reason is reserved. Don't make me do it. Aim for constructiveness. Comments may be republished, emailed to your loved ones or printed and used as toilet paper. Also, I get particularly nasty on comment spam. It's not worth even trying to post comment spam here -- your html is escaped, and your links are given a rel='nofollow'. By attempting to post a comment, you understand that if the comment is considered spam, at my absolute discretion, your IP address may be used as the target of a prolonged distributed denial of service attack. Your electricity might suddenly stop working. Your car tyres will go mysteriously flat. You will suffer permanent hairloss. Your dreams will be filled with terrifying monsters. And in any case I reserve the right to record and publish your IP address.

 

TimeSnapper is a life analysis system that stores and plays-back your computer use. It makes timesheet recording a breeze, helps you recover lost work and shows you how to sharpen your act.

 

NimbleText - FREE text manipulation and data extraction

NimbleText is a Powerful FREE Tool

Use it for:

  • extracting data from text
  • manipulating text
  • generating code

It makes you look awesome. Use it right now! Go on! Hurry! Don't walk, run!

 

Articles

Just Wally Just Wally
The Correct Order for a First Time Viewing of The Lord Of The Rings The Correct Order for a First Time Viewing of The Lord Of The Rings
A new era for Android. A new era for Android.
Mind-boggling Demo of New Gaming Genre, aka Folder-Based Hangman, aka Fun with Recursion Mind-boggling Demo of New Gaming Genre, aka Folder-Based Hangman, aka Fun with Recursion
Got CSV in your javascript? Use agnes. Got CSV in your javascript? Use agnes.

Archives Complete secretGeek Archives

TimeSnapper -- Automated Screenshot Journal TimeSnapper: automatic screenshot journal
NimbleText -- World's Simplest Code Generator NimbleText: Code Generator, Text Manipulator, Data Extractor

25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Universal Troubleshooting checklist Universal Troubleshooting Checklist
Top 10 SecretGeek articles Top 10 SecretGeek articles
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Realtime CSS Editor, in a browser RealTime Online CSS Editor
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker


[powered by Google] 


How to be depressed How to be depressed
You are not inadequate.



Recommended Reading


the little schemer


The Best Software Writing I
The Business Of Software (Eric Sink)

Recommended blogs

Jeff Atwood
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
Thomas White
OJ Reeves
Eric Sink

Aggregated Links

proggit
dzone
hacker news
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
weekly link post

LinkedIn profile
LogEnvy - event logs made sexy
Computer, Unlocked. A rapid computer customization resource
PhysioTec, Brisbane Specialist Physiotherapy & Pilates
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2006 .: privacy

home .: about .: sign up .: sitemap .: RSS .: © Leon Bambrick 2006 .: privacy