Fuck you, Microsoft: reloading projects in Visual Studio

I usually develop using the default Release configuration setting in Visual Studio. It generates faster code and smaller binaries. It’s a perfectly sane thing to do, and most people do the same.

Sometimes, however, something wrong happens and I need to switch to Debug mode:

Then, in order to debug what went wrong, I open several source files, set a lot of breakpoints, study the program flow:

Quite often, I wonder: “did my coworkers commit any code that might be relevant to my problem?” and I synchronise my tree:

git pull --rebase

Or:

p4 get

This is where the nightmare begins.

If Core.vcproj was modified, the following modal dialog appears:

I click Reload. Then, if Engine.vcproj was modified, the following modal dialog appears:

Can you see where this is going? For each of the 50 projects in my solution that were modified, a modal dialog appears and I have no way to say “Yes to All”. Each and every single dialog appears.

When projects are finally reloaded, my tab line looks like this:

Fucking Visual Studio closed all the open tabs from the projects it reloaded! I have no way to reopen them as they were.

Anyway. I press F7 to rebuild the solution, and go take a drink, or switch to another task. A build takes several minutes.

When I come back, I notice this:

Fucking Visual Studio automatically switched my configuration mode back to Release! I just lost minutes of work because I needed a debug build, not a release build. And that tiny check box becomes another thing I need to constantly check in case the software attempts to change it behind my back.

So fuck you, Microsoft, for failing to handle project reloads in even the most slightly user-friendly way. And I shall no buy the “it is not a trivial thing to do” argument. When I close Visual Studio before syncing the tree, then open it again afterwards, I get no annoying avalanche of modal dialogs, my settings are in the expected configuration, and previously opened files are still here in tabs. I would totally do it if it didn't take several minutes to close and reopen the memory hog.

Attachments (6)

Download all attachments as: .zip

Comments

1. jonathand.za@gmail.com -- 2011-12-14 22:18

Add .suo files to your ignores - it contains user preferences like open documents and, yes, even the current build configuration; but I guess you figured this out 6 months later.

You can also configure VS to not shit all over your house when a project changes (so long as you don't have unsaved changes) - somewhere in the options, not sure where.

2. anonymous -- 2012-06-07 15:14

I also hate the bazillion places you have to select "debug"

I am reminded of this Simpsons scene... http://www.youtube.com/watch?v=xbvTt9sAlo4

[the Simpsons are in an office with two FBI men letting them know about going to the federal witness protection program] FBI man 1: Tell you what, Mr. Simpson, from now on your name is Homer Thompson,at Terror Lake.Let's just practice a bit, hmmmm? So when I say hello Mr. Thompson, you say hi. Homer: Check! FBI man 1: Hello, Mr. Thompson. [Homer stares blankly] FBI man 1: [pause] FBI man 1: Now, remember, your name is Homer Thompson. Homer: I gotcha! FBI man 1: Hello, Mr. Thompson. [again Homer stares blankly] FBI man 1: [FBI men stare at each other] [hours pass by] FBI man 1: [frustrated] Argh... Now when I say "Hello Mr. Thompson" and press down on your foot, you smile and nod. Homer: No problem. [stepping hard on Homer's foot] FBI man 1: Hello, Mr. Thompson. [Homer stares blankly again for a few seconds] Homer: [whispering to the FBI man next to him] I think he's talking to you. [FBI man gives up]

3. Nev -- 2012-11-27 02:22

Couldn't agree more. Switching branches too.

5. dokAssode -- 2013-12-19 09:23

J15283 d19073 T12968

6. soassusneri -- 2013-12-19 11:44

C7334 z9643 l16358

7. soassusneri -- 2013-12-20 03:13

F7645 T2717 B8175

8. anonymous -- 2015-08-03 14:16

Fuck u VS 2012 developer... fuck ur mother father... fuck your whole family... you all make our life horrible..

15. vagra_sale -- 2016-12-01 09:42

If you are in texas ,This here is list http://sale9v.com/ , For Men Price In Bangalore on your location .

33. of -- 2017-01-10 21:47

Sumotech mislabel doxycycline replacement for dogs go wet this have /fap/ed-express-http://sale1genericv.com/ , .

34. AlfredKer -- 2017-07-17 10:52

wh0cd659457 <a href=http://phenergan.us.org/>phenergan</a>

35. AlfredKer -- 2017-07-17 14:50

wh0cd806403 <a href=http://lipitorgeneric.us.com/>atorvastatin</a>

37. AlfredKer -- 2017-07-17 21:00

wh0cd336945 <a href=http://buytadalafil.us.org/>tadalafil online</a>

39. BennySedly -- 2017-07-20 06:13

wh0cd941508 <a href=http://paxil.directory/>paxil</a> <a href=http://vermox.systems/>vermox</a> <a href=http://cymbalta.work/>30mg cymbalta</a> <a href=http://prednisone.live/>prednisone</a>

41. KennethCeali -- 2017-07-20 19:03

wh0cd810148 <a href=http://flagyl.live/>flagyl</a> <a href=http://triamterene.work/>triamterene</a> <a href=http://atenolol.directory/>atenolol price</a> <a href=http://prednisolone.store/>prednisolone without</a> <a href=http://provera.directory/>provera</a>

42. CharlesTew -- 2017-07-23 13:04

wh0cd459111 <a href=http://acyclovir.us.org/>Acyclovir</a>

45. CharlesTew -- 2017-07-25 16:30

wh0cd254922 <a href=http://cephalexin500.us.com/>cephalexin 500</a>

50. AlfredKer -- 2017-07-26 12:33

wh0cd520193 <a href=http://nolvadexforsale.us.com/>nolvadex for sale</a>

51. KennethCeali -- 2017-07-26 17:03

wh0cd966148 <a href=http://buytenormin.shop/>tenormin 50mg</a> <a href=http://buy-tetracycline.store/>this site</a> <a href=http://buy-indocin.work/>indocin</a> <a href=http://buyarimidex.shop/>buy arimidex</a> <a href=http://eloconointmentforsale.pro/>elocon</a> <a href=http://finasteride5mg.pro/>propecia generic online</a> <a href=http://sildenafilgeneric.pro/>sildenafil products</a> <a href=http://synthroid.work/>synthroid</a>

52. CharlesTew -- 2017-07-26 18:23

wh0cd667135 <a href=http://tulasi.reisen/>tulasi without prescription</a> <a href=http://exelon.world/>exelon patch placement</a> <a href=http://pletal.world/>get more information</a> <a href=http://coumadin.world/>coumadin</a> <a href=http://remeron.reisen/>remeron pills</a> <a href=http://cystone.world/>cystone</a>

53. BennySedly -- 2017-07-27 00:21

wh0cd887559 <a href=http://lithium.reisen/>continue reading</a> <a href=http://dilantin.reisen/>dilantin</a> <a href=http://avapro.world/>avapro</a> <a href=http://eldepryl.world/>eldepryl</a> <a href=http://confido.world/>generic confido</a>

57. BennySedly -- 2017-07-28 15:51

wh0cd609891 <a href=http://nootropil.reisen/>site here</a> <a href=http://ginseng.reisen/>panax ginseng ed</a> <a href=http://zerit.world/>zerit</a> <a href=http://mevacor.reisen/>mevacor</a> <a href=http://buyzantac.reisen/>zantac</a> <a href=http://decadron.reisen/>decadron</a>

64. CharlesTew -- 2017-07-30 13:03

wh0cd185279 <a href=http://nexium.us.org/>Nexium</a>

68. Eugenegussy -- 2017-07-31 19:50

wh0cd602216 <a href=http://genericretina.us.com/>retin a without a prescription</a> <a href=http://citalopramhbr20mg.us.org/>Citalopram HBR 20 Mg</a> <a href=http://buyfluoxetine.us.org/>fluoxetine</a>

69. AaronAcace -- 2017-07-31 20:42

wh0cd308325 <a href=http://acyclovir800mg.us.com/>acyclovir cream price</a> <a href=http://buypaxil.us.org/>Paxil Headaches</a> <a href=http://genericbentyl.us.com/>bentyl pills</a>

71. CharlesTew -- 2017-08-01 13:31

wh0cd25935 <a href=http://tadalissx.us.com/>cheap tadalis online</a>

79. KennethCeali -- 2017-08-05 09:11

wh0cd866614 <a href=http://crestorgeneric.us.org/>crestor with no prescription</a>

80. AlfredKer -- 2017-08-05 15:42

wh0cd87018 <a href=http://alesse.world/>buy alesse</a> <a href=http://pamelor.world/>pamelor</a> <a href=http://trimox.reisen/>trimox without prescription</a> <a href=http://shatavari.reisen/>shatavari</a> <a href=http://keflex.reisen/>keflex online</a> <a href=http://lopid.reisen/>lopid</a> <a href=http://clozaril.reisen/>clozaril clozapine</a> <a href=http://rulide.reisen/>rulide</a>

83. CharlesTew -- 2017-08-06 21:22

wh0cd1147 <a href=http://vpxl365.us.com/>order vpxl</a> <a href=http://baclofen24.us.org/>Buy Baclofen</a> <a href=http://sildenafil247.us.org/>sildenafil citrate</a> <a href=http://ventolinhfa.us.com/>Ventolin HFA</a>

85. BennySedly -- 2017-08-08 04:52

wh0cd728068 <a href=http://buy-tenormin.shop/>tenormin</a> <a href=http://buyallopurinol.reisen/>where can i buy allopurinol</a> <a href=http://diflucan.work/>diflucan</a>

86. AlfredKer -- 2017-08-08 05:23

wh0cd617570 <a href=http://wellbutrin.us.org/>wellbutrin</a> <a href=http://buyelocon.us.org/>Buy Elocon</a>

87. BennySedly -- 2017-08-08 06:21

wh0cd735900 <a href=http://apcalis.reisen/>apcalis</a> <a href=http://sinemet.world/>sinemet</a> <a href=http://eldepryl.world/>generic eldepryl</a> <a href=http://planb.reisen/>more information</a> <a href=http://minocin.world/>minocin</a> <a href=http://singulairgeneric.store/>singulair</a> <a href=http://copegus.world/>copegus</a>

89. AlfredKer -- 2017-08-08 20:10

wh0cd339896 <a href=http://crestorgeneric.us.org/>crestor</a> <a href=http://buytadacip.us.org/>buy tadacip</a>

90. AaronAcace -- 2017-08-09 03:30

wh0cd442884 <a href=http://bupropionsr150mg.us.com/>bupropion cost</a> <a href=http://buyprovera.us.org/>buy provera</a>

99. BennySedly -- 2017-08-20 07:40

wh0cd46628 <a href=http://buymicardis.world/>micardis generic</a> <a href=http://serophene.world/>generic serophene</a> <a href=http://alavert.world/>alavert</a> <a href=http://shuddhaguggulu.world/>shuddha guggulu</a>

102. AlfredKer -- 2017-08-20 14:22

wh0cd384743 <a href=http://buylithium.world/>lithium carbonate er 300 mg</a> <a href=http://zyvox.world/>zyvox</a> <a href=http://ranitidine.world/>ranitidine</a> <a href=http://pletal.world/>pletal</a> <a href=http://hoodie.reisen/>hoodia</a> <a href=http://benzac.world/>benzac without prescription</a> <a href=http://feldene.world/>feldene</a>

Add New Comment