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>

103. https://www.courseworkhelponline.xyz/ -- 2018-02-23 06:18

This Is Really A Great Stuff For Sharing. Keep It Up .Thanks For Sharing.

Buy Coursework Assignment Help https://www.courseworkhelponline.xyz/

104. C# solutions provider -- 2018-02-23 07:51

By Visiting This Site I Found Cool Stuff Here Keep It Up. http://csharpaid.com/ C# solutions provider

105. anonymous -- 2018-07-19 10:32

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog, I will keep visiting this blog very often. a course in miracles https://www.youtube.com/user/LivingMiracles

106. anonymous -- 2018-07-19 11:22

An fascinating discussion is value comment. I think that it is best to write extra on this matter, it won’t be a taboo topic however generally people are not enough to talk on such topics. To the next. Cheers go here http://friendone.net/

107. anonymous -- 2018-07-20 07:15

Admiring the time and effort you put into your blog and detailed information you offer!.. <a href='http://orderc2o.com'>look at here</a>

108. anonymous -- 2018-07-20 07:16

Admiring the time and effort you put into your blog and detailed information you offer!.. look at here http://orderc2o.com

109. anonymous -- 2018-07-21 07:06

Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. discover here http://comparatif-mutuelle-de-france.com/

110. anonymous -- 2018-07-22 11:48

Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging, look at here now http://www.orderv2o.com/

111. anonymous -- 2018-07-23 12:34

If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. <a href='https://www.eliaandponto.com/michigan-auto-accident-lawyer/'>Michigan Auto Accident Attorney</a>

112. anonymous -- 2018-07-24 09:46

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. harga mobil https://www.jualmobil.com/

113. anonymous -- 2018-07-28 08:05

Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next.. Cyber Careers http://www.cybercareers.org

114. anonymous -- 2018-07-29 11:12

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog, I will keep visiting this blog very often. Magento developers from Metagento https://www.metagento.com

115. anonymous -- 2018-07-30 07:55

I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best! awakening movies https://mwge.org/

116. anonymous -- 2018-07-30 14:09

Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. a course in miracles https://acim-online-video.net/

117. anonymous -- 2018-08-01 12:11

Thanks for another wonderful post. Where else could anybody get that type of info in such an ideal way of writing? Foundation Studio http://www.foundationstudio.ca

118. anonymous -- 2018-08-02 07:38

Hello There. I found your blog using msn. This is an extremely well written article. I will be sure to bookmark it and return to read more of your useful information. Thanks for the post. I’ll certainly comeback. Mandani Bay http://mandanibay.residences.ph/

119. anonymous -- 2018-08-06 15:51

I am definitely enjoying your website. You definitely have some great insight and great stories. ค่ารักษาพยาบาล https://thailandclinics.com/

120. anonymous -- 2018-08-29 13:43

I was looking at some of your content on this website and I believe this website is really informative! Continue putting up. http://www.theacademicpapers.co.uk/dissertation-writing-services-uk.php

121. anonymous -- 2018-10-15 10:27

Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work. Enjoy Mexico Villa Rentals https://enjoymexico.net/villa-rentals/

122. anonymous -- 2018-10-16 08:13

Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject! Enjoy Mexico Villa Rentals in Cabo San Lucas https://enjoymexico.net/villa-rentals-cabo-san-lucas/

Add New Comment