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. Speaking of Visual Studio... (A warning!)

Speaking of Visual Studio... (A warning!)

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptvisual-studiocloudannouncement
33 Posts 16 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.
  • H honey the codewitch

    I don't even trust those. I run windows in a VM and I freeze/save state on it. :laugh:

    Real programmers use butterflies

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

    I don't even trust those. I buy a new computer and run the updates there ;p

    Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

    H G 2 Replies Last reply
    0
    • Sander RosselS Sander Rossel

      I don't even trust those. I buy a new computer and run the updates there ;p

      Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #8

      sensible

      Real programmers use butterflies

      1 Reply Last reply
      0
      • Sander RosselS Sander Rossel

        I don't use preview builds of VS or anything. I've looked at those preview features, unticked them all, restarted, and I'm at least still getting the GenerateTypeCodeFixProvider error. To see if you've also got it, in any method, simply enter:

        var c = new MyClass
        {
        MyProperty = 1
        };

        Then stand on "MyClass" and hit ctrl + . (provided MyClass is not an actual class in your project). This opens your refactoring menu and should immediately cause the GenerateTypeCodeFixProvider to encounter an error. None of the refactoring options work after that, even after enabling the provider again.

        Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

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

        I cannot replicate. I followed your instructions and it works pefectly. I selected "generate new type..." dialog opens and I am allowed to generate a new type for MyClass. no errros. if you run VS 2019 as Admin, does that help? I don't run as admin, I was just curious.

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

          Don't update to the newest version if you haven't already. I've done so last week and it's buggy as hell X| It keeps removing my quick access items, especially the "Text Editor" (which has the comment and uncomment buttons) and the Crystal Reports software who shall not be named controls. I'm also getting constant "GenerateTypeCodeFixProvider encountered an error and has been disabled" error, which prevents me from automatically generating classes and other of those quick actions and refactorings. I've seen other errors as well, but I don't know what they were and they aren't as frequent, but annoying nonetheless. I've also had a complete VS crash once or twice. It really takes a bite out of my productivity and I'm looking forward to the next update because it pretty much can't get any worse than this. I updated because I hoped I'd get some .NET 5 and GitHub support, which the Visual Studio team is working on. I'm not even looking at those while VS is bugging me like this X| Apparently, I can't (easily) uninstall a Visual Studio update, or I certainly would've done so. Bad, bad Microsoft! :mad:

          Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

          T Offline
          T Offline
          theoldfool
          wrote on last edited by
          #10

          Not seeing what you see but I have been getting those "something went wrong, save that ugly mess you are creating and restart Visual Studio" Add a feature, fix a bug and add 3 new ones.

          If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.

          Sander RosselS 1 Reply Last reply
          0
          • T theoldfool

            Not seeing what you see but I have been getting those "something went wrong, save that ugly mess you are creating and restart Visual Studio" Add a feature, fix a bug and add 3 new ones.

            If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.

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

            I got it sometimes, but now I get it consistently. At least it's consistent now, so maybe this is the actual intended behavior :laugh:

            Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

            1 Reply Last reply
            0
            • S Slacker007

              I cannot replicate. I followed your instructions and it works pefectly. I selected "generate new type..." dialog opens and I am allowed to generate a new type for MyClass. no errros. if you run VS 2019 as Admin, does that help? I don't run as admin, I was just curious.

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

              I'm not running as administrator, but I just tried that. I don't even get to the error as VS is hanging while "Gathering suggestions - Waiting for the solution to fully load" when I press ctrl + . :~ After cancelling I didn't see the error, but it didn't work either. Upon trying again I got an empty context menu :sigh: Ultimately, the error showed up again.

              Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

              1 Reply Last reply
              0
              • Sander RosselS Sander Rossel

                I don't even trust those. I buy a new computer and run the updates there ;p

                Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                G Offline
                G Offline
                Gary R Wheeler
                wrote on last edited by
                #13

                I don't even use a computer, and I shoot salespeople on sight. What the :elephant: am I doing here anyway?

                Software Zen: delete this;

                D 1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  Don't update to the newest version if you haven't already. I've done so last week and it's buggy as hell X| It keeps removing my quick access items, especially the "Text Editor" (which has the comment and uncomment buttons) and the Crystal Reports software who shall not be named controls. I'm also getting constant "GenerateTypeCodeFixProvider encountered an error and has been disabled" error, which prevents me from automatically generating classes and other of those quick actions and refactorings. I've seen other errors as well, but I don't know what they were and they aren't as frequent, but annoying nonetheless. I've also had a complete VS crash once or twice. It really takes a bite out of my productivity and I'm looking forward to the next update because it pretty much can't get any worse than this. I updated because I hoped I'd get some .NET 5 and GitHub support, which the Visual Studio team is working on. I'm not even looking at those while VS is bugging me like this X| Apparently, I can't (easily) uninstall a Visual Studio update, or I certainly would've done so. Bad, bad Microsoft! :mad:

                  Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                  R Offline
                  R Offline
                  Rick York
                  wrote on last edited by
                  #14

                  I have had pretty good luck with VS updates in the past but this is the worst one I can remember. Every time I paste text it "formats" it and I can't find where to disable that. It just started doing that after the update and it really annoys me. Another thing - every time I click "find in files" it takes five minutes or so. I have no idea why and this is very annoying also. Curiously, I installed VS19 on two other machines and neither have these problems. They happen only on the one that was updated. I certainly hope a subsequent update repairs this nonsense.

                  "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                  Sander RosselS 1 Reply Last reply
                  0
                  • R Rick York

                    I have had pretty good luck with VS updates in the past but this is the worst one I can remember. Every time I paste text it "formats" it and I can't find where to disable that. It just started doing that after the update and it really annoys me. Another thing - every time I click "find in files" it takes five minutes or so. I have no idea why and this is very annoying also. Curiously, I installed VS19 on two other machines and neither have these problems. They happen only on the one that was updated. I certainly hope a subsequent update repairs this nonsense.

                    "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

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

                    Rick York wrote:

                    Every time I paste text it "formats" it and I can't find where to disable that

                    It does that for me too, always has. Can you do ctrl + z and restore the original formatting? Always worked for me.

                    Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                    R 1 Reply Last reply
                    0
                    • H honey the codewitch

                      I don't even trust those. I run windows in a VM and I freeze/save state on it. :laugh:

                      Real programmers use butterflies

                      N Offline
                      N Offline
                      Nelek
                      wrote on last edited by
                      #16

                      Imaging the partition with a backup software here

                      M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                      1 Reply Last reply
                      0
                      • Sander RosselS Sander Rossel

                        Rick York wrote:

                        Every time I paste text it "formats" it and I can't find where to disable that

                        It does that for me too, always has. Can you do ctrl + z and restore the original formatting? Always worked for me.

                        Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                        R Offline
                        R Offline
                        Rick York
                        wrote on last edited by
                        #17

                        Yes, that's what I have been doing but I don't have to do that on my other two machines. THAT is the really annoying thing.

                        "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          Don't update to the newest version if you haven't already. I've done so last week and it's buggy as hell X| It keeps removing my quick access items, especially the "Text Editor" (which has the comment and uncomment buttons) and the Crystal Reports software who shall not be named controls. I'm also getting constant "GenerateTypeCodeFixProvider encountered an error and has been disabled" error, which prevents me from automatically generating classes and other of those quick actions and refactorings. I've seen other errors as well, but I don't know what they were and they aren't as frequent, but annoying nonetheless. I've also had a complete VS crash once or twice. It really takes a bite out of my productivity and I'm looking forward to the next update because it pretty much can't get any worse than this. I updated because I hoped I'd get some .NET 5 and GitHub support, which the Visual Studio team is working on. I'm not even looking at those while VS is bugging me like this X| Apparently, I can't (easily) uninstall a Visual Studio update, or I certainly would've done so. Bad, bad Microsoft! :mad:

                          Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                          D Offline
                          D Offline
                          den2k88
                          wrote on last edited by
                          #18

                          Oh, ckuf it, I installed it yesterday. Perfect... You using C++ or .NET only?

                          GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                          Sander RosselS 1 Reply Last reply
                          0
                          • H honey the codewitch

                            I don't even trust those. I run windows in a VM and I freeze/save state on it. :laugh:

                            Real programmers use butterflies

                            D Offline
                            D Offline
                            den2k88
                            wrote on last edited by
                            #19

                            AFAIK VS2019 license does not allow to be ran on virtualized systems.

                            GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                            H M 2 Replies Last reply
                            0
                            • D den2k88

                              AFAIK VS2019 license does not allow to be ran on virtualized systems.

                              GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                              H Offline
                              H Offline
                              honey the codewitch
                              wrote on last edited by
                              #20

                              They can either deal with it or lose a customer. Windows isn't stable enough to run outside a VM.

                              Real programmers use butterflies

                              1 Reply Last reply
                              0
                              • D den2k88

                                Oh, ckuf it, I installed it yesterday. Perfect... You using C++ or .NET only?

                                GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

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

                                Just .NET and mostly C#. It seems not everyone has these issues though, so you may be in luck.

                                Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                S 1 Reply Last reply
                                0
                                • Sander RosselS Sander Rossel

                                  Just .NET and mostly C#. It seems not everyone has these issues though, so you may be in luck.

                                  Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                  S Offline
                                  S Offline
                                  Shao Voon Wong
                                  wrote on last edited by
                                  #22

                                  To be able to work on your projects today, I suggest you to download the Visual Studio VMs provided by Microsoft. They expire every 2 months whereby you have to download new VM again. [Download a Windows 10 virtual machine - Windows app development](https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/)

                                  Sander RosselS 1 Reply Last reply
                                  0
                                  • S Shao Voon Wong

                                    To be able to work on your projects today, I suggest you to download the Visual Studio VMs provided by Microsoft. They expire every 2 months whereby you have to download new VM again. [Download a Windows 10 virtual machine - Windows app development](https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/)

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

                                    20GB? No thanks... :omg: Besides, I've developed in VM's before and it's really annoying that I have to switch between my desktop/VM or VM/other VM every time I need some other tool X| It would take about a day every two months just to re-install my environment :wtf: Also, I don't have an Enterprise license :)

                                    Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                    N 1 Reply Last reply
                                    0
                                    • Sander RosselS Sander Rossel

                                      20GB? No thanks... :omg: Besides, I've developed in VM's before and it's really annoying that I have to switch between my desktop/VM or VM/other VM every time I need some other tool X| It would take about a day every two months just to re-install my environment :wtf: Also, I don't have an Enterprise license :)

                                      Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                      N Offline
                                      N Offline
                                      Nelek
                                      wrote on last edited by
                                      #24

                                      Sander Rossel wrote:

                                      20GB? No thanks...

                                      It actually is pretty light depending on what it is inside. My own image without Visual Studio and other stuff is already over 15 Gb.

                                      M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                      Sander RosselS 1 Reply Last reply
                                      0
                                      • D den2k88

                                        AFAIK VS2019 license does not allow to be ran on virtualized systems.

                                        GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                                        M Offline
                                        M Offline
                                        markrlondon
                                        wrote on last edited by
                                        #25

                                        Do you have a reference to that? I can't see anything in the VS2019 licensing guide that prohibits it being run on VMs in general. The guide can be seen here: https://visualstudio.microsoft.com/wp-content/uploads/2020/03/Visual-Studio-Licensing-Whitepaper-Mar-2020.pdf[^] The only VM limitation for VS2019 I can find is this (which I find rather odd):

                                        Quote:

                                        Visual Studio subscriber software may no longer be run on dedicated hosted cloud services offered by the following public cloud providers as of October 1, 2019. Alibaba, Amazon (including VMware Cloud on AWS), and Google This change won't impact the use of existing software versions under licenses purchased before October 1, 2019, but will impact licenses purchased on or after October 1, 2019. Use on Azure (multi-tenant or dedicated hosts) continues to be permitted during the term of a Visual Studio subscription. For more information please refer to the following licensing news article: https://www.microsoft.com/enus/licensing/news/updated-licensing-rights-for-dedicated-cloud

                                        D 1 Reply Last reply
                                        0
                                        • M markrlondon

                                          Do you have a reference to that? I can't see anything in the VS2019 licensing guide that prohibits it being run on VMs in general. The guide can be seen here: https://visualstudio.microsoft.com/wp-content/uploads/2020/03/Visual-Studio-Licensing-Whitepaper-Mar-2020.pdf[^] The only VM limitation for VS2019 I can find is this (which I find rather odd):

                                          Quote:

                                          Visual Studio subscriber software may no longer be run on dedicated hosted cloud services offered by the following public cloud providers as of October 1, 2019. Alibaba, Amazon (including VMware Cloud on AWS), and Google This change won't impact the use of existing software versions under licenses purchased before October 1, 2019, but will impact licenses purchased on or after October 1, 2019. Use on Azure (multi-tenant or dedicated hosts) continues to be permitted during the term of a Visual Studio subscription. For more information please refer to the following licensing news article: https://www.microsoft.com/enus/licensing/news/updated-licensing-rights-for-dedicated-cloud

                                          D Offline
                                          D Offline
                                          den2k88
                                          wrote on last edited by
                                          #26

                                          No reference, I read it "en passant" on Friday while downloading VS. Can't point to it... it was in the licensing section of VS site on MS though.

                                          GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                                          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