question

JohnBrel-9349 avatar image
0 Votes"
JohnBrel-9349 asked DylanZhu-MSFT answered

How to tame Visual Studio? It's slow, displays errors or hangs.


I use a freshly installed Windows 10, 20H2 and have installed Visual Studio Community 19 with all the default settings. However, although I have only been working with C# for a week, it's been a rather tiresome experience.

I'm just learning the basics of C# programming, but even the simplest projects take a long time, while IntelliSense says that it is loading and that I "can still continue working". Yeah, right, working on what then?

And now it starts with an error "there was an error activating the remote language server".
Then when I create projects, sometimes I succeed, but today every other new project cannot load a Form1, saying "Microsoft Visual Studio - The designer cannot be shown because the document for it was never loaded."

I've lost several documents while C# did not respond for more than half an hour, indicating "Visual Studio is busy. We'll automatically report this delay to Microsoft based on your Visual Studio Experience Improvement Program Settings".

Okay, I thought, I installed it 24 days ago - maybe it needs an update. Strange, as I have configured VS to update automatically. Indeed I'm at 16.8.6, and the update checker tells me the curent version is at 16.9.2. Alright, I'm flexible: let's do this manually then. Now I get "Sorry, something went wrong. Error: Visual Studio Installer. The installer encountered an error. Select the provide feedback link to get support".

It's all good and well that you ask me for feedback but I'd rather have a product of which the basics just work.

This may seem more like a rant than a question, but I do wonder if there are some preconditions to make Visual Studio work? Some default configurations I've got to change perhaps?

81576-error-busy.jpg
81563-error-installer.jpg
81528-error-load.jpg


vs-general
error-busy.jpg (12.3 KiB)
error-installer.jpg (15.4 KiB)
error-load.jpg (10.4 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I tried updating from within Visual Studio several times, but each time got the same error. I saw some suggestions to repair Visual Studio. So I opened Start > typed 'Visual Studio Installer'. This said I had to update first, and now this seems to work.

Microsoft Visual Studio engineers, take heed, please:
updating from within Visual Studio doesn't work (in my case) and gives:
"Sorry, something went wrong. Error: Visual Studio Installer. The installer encountered an error. Select the provide feedback link to get support",
while going to Start > 'Visual Studio Installer' does update Visual Studio correctly!


0 Votes 0 ·

Also, the link 'provide feedback' seems clickable but doesn't do anything.

Microsoft Visual Studio engineers, take heed, please:
Some links within Visual Studio don't do (refer to?) anything.
Some links within Visual Studio open Internet Explorer ( Specifically the link after the "language server" error)! Some links open the default browser (as it should be)
Some links (component help, F1) open to an empty MSDN page!

0 Votes 0 ·

After updating Visual Studio (to 16.9.2) and trying to reload my C# Windows Form project, it now complains that I don't have dotnet Core installed. But I do have dotNet Core installed, on my D: drive, just as the Visual Studio installation.

Microsoft Visual Studio engineers, take heed, please:
The updater (and also possibly the installer) of Visual Studio is wrong in looking for the dotNet Core installation just on the C: (or system) drive! Why doesn't the updater leave this setting intact?


0 Votes 0 ·

1 Answer

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered

Hi JohnBrel,

The updater (and also possibly the installer) of Visual Studio is wrong in looking for the dotNet Core installation just on the C: (or system) drive! Why doesn't the updater leave this setting intact?

If you install the .NET core on other drive, please confirm if the installation directory has been set in system environment variables.
81733-image.png

In addition, we suggest you report other questions in developer community: https://developercommunity.visualstudio.com/report?space=8&entry=problem, and the product team will evaluate them seriously.

Best Regards,
Dylan

If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (29.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.