Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What the hell Microsoft!?

What the hell Microsoft!?

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiocomtoolsquestion
49 Posts 19 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sander RosselS Sander Rossel

    So last week we got a new Virtual Machine with Visual Studio 2015 installed. With this project we're coming from 2010, so I was pretty excited as I've worked with 2015 before and it has so much improvements! Check out the project and... Visual Studio 2015 crashes... It happens. Open it up again and for some reason I can't open a cshtml file. Restart. Cache is out of date. Restart. Can't load unit tests (getting it to work required me to unload all non-test projects). Restart. Something else crashed... WHAT THE HELL MICROSOFT!? :mad: Then I checked out the project on my laptop with the Visual Studio 2015 Community Edition and everything worked like a charm. Back to the VM and nothing but trouble. So screw working in a VM I'll work on my laptop (we've got VM's for different VPN clients, different versions of the same tools, etc.). Let me first update my laptop though, apparently I've got some Visual Studio Update 1 pending. Installed and... I get the same problems on my laptop! WHAT THE HELL MICROSOFT!? :mad: I just de-installed Visual Studio on my laptop and I'm now doing a clean install (with Update 1). If that doesn't work I'm going to look for an older installer without Update 1. Anyone else has these problems?

    Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

    Regards, Sander

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #29

    I too have lot of issues with VS 2015. In C#, right click a variable to rename, got 'Object reference not set to instance exception'. And a lot more issues with the editor.

    Sander RosselS 1 Reply Last reply
    0
    • Sander RosselS Sander Rossel

      I've tried it all. Must've deleted that cache a 100 times by now.

      Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

      Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

      Regards, Sander

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #30

      What kind of project do you have? Can you separate the test totally from the rest? Maybe this? Upgrade Visual Studio 2010 unit test projects[^]

      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      Sander RosselS 1 Reply Last reply
      0
      • M Marc Clifton

        Sander Rossel wrote:

        If that doesn't work I'm going to look for an older installer without Update 1.

        Good luck. I opened a project on my older laptop that has some unit tests, (BTW, this is VS2012) and got a "that file already exists" when I tried to create a new test file. No, it doesn't exist. Same problem with a non-test project. Tried a solution without tests, that worked fine. I figure, WTF, VS2012 is corrupted, I'll just install VS2015. Nope, installer dies with some error that apparently other people have experienced. Figure, ok, I'll just uninstall VS2012 and re-install it. Nope, same error as when I tried VS2015. Read a comment somewhere to try the web installer. Well, right now the laptop (and for the whole day so far) has been doing W7 updates. Figure I should try that first. My last update was in 2014, so there are some 157 updates. I think what I'll do some time this week is dump everything onto an external SSD, then wipe the drive and start from a blank slate (W7, none of this W8 or W10 shit for me.) Maybe replace the drive with an SSD while I'm at it and breath a little life into this old, but very reliable, laptop. At least, the hardware is great, it's showing its age with the OS though. Or maybe I'll turn it into a Debian box and use Mono. BTW, the missing cat turns out to be living under our house. Now if it would just stop snowing and raining, he might come out for a bite and be caught in the have-a-heart trap we set out. (And this is a test to see if you read the whole post, mwahaha.) Marc

        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

        Sander RosselS Offline
        Sander RosselS Offline
        Sander Rossel
        wrote on last edited by
        #31

        Marc Clifton wrote:

        the missing cat turns out to be living under our house

        That's great news! :D

        Marc Clifton wrote:

        And this is a test to see if you read the whole post, mwahaha.

        I always start at the bottom, I haven't read further than your cat ;p Seriously though, Windows after 7 is a PITA, VS is a PITA... Maybe switch to Linux after all :sigh:

        Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

        Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

        Regards, Sander

        1 Reply Last reply
        0
        • L Lost User

          I too have lot of issues with VS 2015. In C#, right click a variable to rename, got 'Object reference not set to instance exception'. And a lot more issues with the editor.

          Sander RosselS Offline
          Sander RosselS Offline
          Sander Rossel
          wrote on last edited by
          #32

          Yes, I've seen that one too! :sigh:

          Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

          Regards, Sander

          1 Reply Last reply
          0
          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

            What kind of project do you have? Can you separate the test totally from the rest? Maybe this? Upgrade Visual Studio 2010 unit test projects[^]

            Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

            Sander RosselS Offline
            Sander RosselS Offline
            Sander Rossel
            wrote on last edited by
            #33

            It's a solution with some 20 projects (including test projects). I can unload all other projects and the test explorer works fine. This is about being able to do my work like I did with VS2010, but better though. If VS2015 makes me go through hoops just to unit test my project and gives me a lot of errors on top I'd much rather go back to VS2010...

            Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

            Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

            Regards, Sander

            S 1 Reply Last reply
            0
            • S Slacker007

              Point taken with Vista. But 8 is doable. I currently use 8 at work, and it is manageable. It's no 7, though. :)

              Sander RosselS Offline
              Sander RosselS Offline
              Sander Rossel
              wrote on last edited by
              #34

              Slacker007 wrote:

              But 8 is doable. I currently use 8 at work, and it is manageable

              Agreed. Not all that, but when you get used to it it's just a small step back from 7.

              Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

              Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

              Regards, Sander

              1 Reply Last reply
              0
              • B Brisingr Aerowing

                Use the Update for Microsoft Visual Studio 2015 (KB3110221)[^], Sander.

                What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                Sander RosselS Offline
                Sander RosselS Offline
                Sander Rossel
                wrote on last edited by
                #35

                If anything, that made it worse. I now get a "Visual Studio is busy" error every time I start VS and the Test Explorer is still open... :sigh:

                Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                Regards, Sander

                B 1 Reply Last reply
                0
                • S Slacker007

                  Businesses are not adopting Windows 10, at least none that I know of. As I mentioned earlier, we have no plans to move to Windows 10 until the OS has stabilized, which could be another 6 months to a year. Not good for Microsoft, and they know it.

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #36

                  Slacker007 wrote:

                  Businesses are not adopting Windows 10, at least none that I know of

                  One of my clients is currently going through W10 testing for all of its products. This is an international company with 10s of 1000s of users. The testing is going surprisingly well. I might have to get serious about developing UWA systems.

                  This space for rent

                  S 1 Reply Last reply
                  0
                  • Sander RosselS Sander Rossel

                    It's a solution with some 20 projects (including test projects). I can unload all other projects and the test explorer works fine. This is about being able to do my work like I did with VS2010, but better though. If VS2015 makes me go through hoops just to unit test my project and gives me a lot of errors on top I'd much rather go back to VS2010...

                    Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                    Regards, Sander

                    S Offline
                    S Offline
                    Snorri Kristjansson
                    wrote on last edited by
                    #37

                    Silly question maybe... But are you running VS as administrator? and are you administrator on the machine. One thing that I would try in this situation is to use ProcMon.exe from SysInternals to capture what is going on when you get the errors.

                    Sander RosselS 1 Reply Last reply
                    0
                    • P Pete OHanlon

                      Slacker007 wrote:

                      Businesses are not adopting Windows 10, at least none that I know of

                      One of my clients is currently going through W10 testing for all of its products. This is an international company with 10s of 1000s of users. The testing is going surprisingly well. I might have to get serious about developing UWA systems.

                      This space for rent

                      S Offline
                      S Offline
                      Slacker007
                      wrote on last edited by
                      #38

                      Good to hear.

                      P 1 Reply Last reply
                      0
                      • Sander RosselS Sander Rossel

                        So last week we got a new Virtual Machine with Visual Studio 2015 installed. With this project we're coming from 2010, so I was pretty excited as I've worked with 2015 before and it has so much improvements! Check out the project and... Visual Studio 2015 crashes... It happens. Open it up again and for some reason I can't open a cshtml file. Restart. Cache is out of date. Restart. Can't load unit tests (getting it to work required me to unload all non-test projects). Restart. Something else crashed... WHAT THE HELL MICROSOFT!? :mad: Then I checked out the project on my laptop with the Visual Studio 2015 Community Edition and everything worked like a charm. Back to the VM and nothing but trouble. So screw working in a VM I'll work on my laptop (we've got VM's for different VPN clients, different versions of the same tools, etc.). Let me first update my laptop though, apparently I've got some Visual Studio Update 1 pending. Installed and... I get the same problems on my laptop! WHAT THE HELL MICROSOFT!? :mad: I just de-installed Visual Studio on my laptop and I'm now doing a clean install (with Update 1). If that doesn't work I'm going to look for an older installer without Update 1. Anyone else has these problems?

                        Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                        Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                        Regards, Sander

                        V Offline
                        V Offline
                        Vaso Elias
                        wrote on last edited by
                        #39

                        I have got a similar problem in my Visual Studio 2015 Community!!! It happens in the solution where I have got many projects, about 20. Precisely, I have got there 20 ASP.NET Core 1.0 projects. It is crashing when I simply just open my solution. I can see that it loads projects in random order and crashes. When it crashed I tried to debug it in another Visual Studio 2015 instance but with no result, I think I saw there only something related with json but don't know if it was related with json files in my solutions or projects or internal Visual Studio itself. The way around (worked for me): Note: Really be careful if you are using GIT. If you move the projects around you should commit only when your projects are where they are meant to be. 1) Close your Visual Studio 2015 2) Create a temp folder inside your solution, on the same level where your projects are 3) Move majority projects there - maybe all except one, especially keep the one where is the solution file. 4) Open your Solution 5) This should open Visual Studio 2015 without crashing and you will see in your Solution Explorer obviously that some projects are unavailable 6) Move the projects back from temp folder back to their previous place 7) You can reload (right click the project) the one you need or all of them. It should not crash. I personally like Visual Studio 2015 very much and hope that eventually whatever is broken will be fixed and don't have to use this retarded work around.. ..yep, it started with Update 1, I think the Update 73 should fix it. :)

                        Sander RosselS 1 Reply Last reply
                        0
                        • S Slacker007

                          Good to hear.

                          P Offline
                          P Offline
                          Pete OHanlon
                          wrote on last edited by
                          #40

                          Granted, that's the only client doing this ;)

                          This space for rent

                          S 1 Reply Last reply
                          0
                          • P Pete OHanlon

                            Granted, that's the only client doing this ;)

                            This space for rent

                            S Offline
                            S Offline
                            Slacker007
                            wrote on last edited by
                            #41

                            My company (our shop) is going to start testing Windows 10 in about 6 months. I actually want Windows 10 to work, because I make my living with the Microsoft stack and a "new" stable OS, would be nice.

                            1 Reply Last reply
                            0
                            • K Kevin Marois

                              Cristian Amarie wrote:

                              Disable perftip, diagnostic tools

                              Where do you go to disable these?

                              If it's not broken, fix it until it is

                              C Offline
                              C Offline
                              Cristian Amarie
                              wrote on last edited by
                              #42

                              Tools > Options > Debugging > General for "Enable Diagnostic Tools while debugging" and "Show elapsed PerfTip when debugging" Text Editor > C/C++ > Advanced => Intellisense Auto Tune Max Cached Transation -> False Max Cached Translation Units -> 2 (my setting, not 15)

                              1 Reply Last reply
                              0
                              • S Snorri Kristjansson

                                Silly question maybe... But are you running VS as administrator? and are you administrator on the machine. One thing that I would try in this situation is to use ProcMon.exe from SysInternals to capture what is going on when you get the errors.

                                Sander RosselS Offline
                                Sander RosselS Offline
                                Sander Rossel
                                wrote on last edited by
                                #43

                                I'm admin on one machine. On the other I run as admin.

                                Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                Regards, Sander

                                1 Reply Last reply
                                0
                                • C Cristian Amarie

                                  VS2015 is a hog compared to VS2013 (which in itself was one, but better than 2010). Disable perftip, diagnostic tools and stuff like that. Limit also autocomplete background to 2 threads insteaf of maximum (15). Even the full debug symbols load (both MS and private), the browser we supply in the product - I'm talking about Bitdefender full consumer product - which in itself is CEF-based which 1.5+ GB .pdb just for one file, libcef.pdb and still is not that bad as perftip + diagtools.

                                  D Offline
                                  D Offline
                                  Dan Neely
                                  wrote on last edited by
                                  #44

                                  My biggest 2015 is a pig complaint (vs 2010) is memory use. I could generally run 2 copies of 2010 along with all my other apps and background corporate bloat in 8gb without needing to hit swap. With 2015 I've occasionally found myself swapping with just the one instance running. :sigh:

                                  Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                                  1 Reply Last reply
                                  0
                                  • Sander RosselS Sander Rossel

                                    So last week we got a new Virtual Machine with Visual Studio 2015 installed. With this project we're coming from 2010, so I was pretty excited as I've worked with 2015 before and it has so much improvements! Check out the project and... Visual Studio 2015 crashes... It happens. Open it up again and for some reason I can't open a cshtml file. Restart. Cache is out of date. Restart. Can't load unit tests (getting it to work required me to unload all non-test projects). Restart. Something else crashed... WHAT THE HELL MICROSOFT!? :mad: Then I checked out the project on my laptop with the Visual Studio 2015 Community Edition and everything worked like a charm. Back to the VM and nothing but trouble. So screw working in a VM I'll work on my laptop (we've got VM's for different VPN clients, different versions of the same tools, etc.). Let me first update my laptop though, apparently I've got some Visual Studio Update 1 pending. Installed and... I get the same problems on my laptop! WHAT THE HELL MICROSOFT!? :mad: I just de-installed Visual Studio on my laptop and I'm now doing a clean install (with Update 1). If that doesn't work I'm going to look for an older installer without Update 1. Anyone else has these problems?

                                    Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                    Regards, Sander

                                    B Offline
                                    B Offline
                                    Bharat Mallapur
                                    wrote on last edited by
                                    #45

                                    At least you got it to install! :) Mine just hanged at the install phase, and completely buggered up all my other OS settings. I ended up having to re-install the entire OS after facing system slowdown, repeated crashes etc.

                                    'The time has come,' the Walrus said, 'To talk of many things: Of shoes -- and ships -- and sealing wax -- Of cabbages -- and kings -- And why the sea is boiling hot -- And whether pigs have wings.' -- The Walrus and the Carpenter (by Lewis Carroll)

                                    1 Reply Last reply
                                    0
                                    • Sander RosselS Sander Rossel

                                      So last week we got a new Virtual Machine with Visual Studio 2015 installed. With this project we're coming from 2010, so I was pretty excited as I've worked with 2015 before and it has so much improvements! Check out the project and... Visual Studio 2015 crashes... It happens. Open it up again and for some reason I can't open a cshtml file. Restart. Cache is out of date. Restart. Can't load unit tests (getting it to work required me to unload all non-test projects). Restart. Something else crashed... WHAT THE HELL MICROSOFT!? :mad: Then I checked out the project on my laptop with the Visual Studio 2015 Community Edition and everything worked like a charm. Back to the VM and nothing but trouble. So screw working in a VM I'll work on my laptop (we've got VM's for different VPN clients, different versions of the same tools, etc.). Let me first update my laptop though, apparently I've got some Visual Studio Update 1 pending. Installed and... I get the same problems on my laptop! WHAT THE HELL MICROSOFT!? :mad: I just de-installed Visual Studio on my laptop and I'm now doing a clean install (with Update 1). If that doesn't work I'm going to look for an older installer without Update 1. Anyone else has these problems?

                                      Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                      Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                      Regards, Sander

                                      B Offline
                                      B Offline
                                      brianriggan
                                      wrote on last edited by
                                      #46

                                      I had basically the exact same problem. Even uninstalling and reinstalling with the Update didn't work. I had to uninstall everything then reinstall everything without the update, once I got that up an running I installed the update, then I had a build problem after the update that I did not have before. The build problem turned out to be an import to a non existent static class in VB, for some reason the compiler didn't say that, it just crashed. I discovered it through eliminating everything until I could build then going line by line through that code file. Update 1 is a MESS.

                                      1 Reply Last reply
                                      0
                                      • Sander RosselS Sander Rossel

                                        So last week we got a new Virtual Machine with Visual Studio 2015 installed. With this project we're coming from 2010, so I was pretty excited as I've worked with 2015 before and it has so much improvements! Check out the project and... Visual Studio 2015 crashes... It happens. Open it up again and for some reason I can't open a cshtml file. Restart. Cache is out of date. Restart. Can't load unit tests (getting it to work required me to unload all non-test projects). Restart. Something else crashed... WHAT THE HELL MICROSOFT!? :mad: Then I checked out the project on my laptop with the Visual Studio 2015 Community Edition and everything worked like a charm. Back to the VM and nothing but trouble. So screw working in a VM I'll work on my laptop (we've got VM's for different VPN clients, different versions of the same tools, etc.). Let me first update my laptop though, apparently I've got some Visual Studio Update 1 pending. Installed and... I get the same problems on my laptop! WHAT THE HELL MICROSOFT!? :mad: I just de-installed Visual Studio on my laptop and I'm now doing a clean install (with Update 1). If that doesn't work I'm going to look for an older installer without Update 1. Anyone else has these problems?

                                        Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                        Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                        Regards, Sander

                                        Y Offline
                                        Y Offline
                                        Yortw
                                        wrote on last edited by
                                        #47

                                        I had huge problems with crashes and hangs pre-update 1, but a combination of update 1 and unloading various 3rd party VS add-ins solved almost all of them. I won't touch VS2015 without update 1 now - odd that you are having the opposite problem!

                                        1 Reply Last reply
                                        0
                                        • Sander RosselS Sander Rossel

                                          If anything, that made it worse. I now get a "Visual Studio is busy" error every time I start VS and the Test Explorer is still open... :sigh:

                                          Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                                          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                                          Regards, Sander

                                          B Offline
                                          B Offline
                                          Brisingr Aerowing
                                          wrote on last edited by
                                          #48

                                          I must be lucky then, as I have had no issues whatsoever.

                                          What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups