Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable lightweight solution load prompt

In VS2017 lightweight solution load is disabled by default and since I don't want it I am happy. BUT there is an annoying prompt which prompts me to enable it when I load a solution with a "Large" number of projects.

Is it possible to disable this prompt, so I do not enable it by accident ?

I have searched Tools -> options and the registry to no avail. Also what is a "large" number of projects I have not been able to find the number. Perhaps if one could raise the number to say 100000 then the prompt would never appear.

like image 940
Jesper Niedermann Avatar asked Apr 07 '17 10:04

Jesper Niedermann


2 Answers

The Lightweight Solution prompt is shown three times, per solution, then a setting is stored locally which prevents it being shown again.

From: developercommunity.visualstudio.com: Viktor Veis: 27 Mar 2017:

The lightweight solution message is shown 3 times per solution. These settings are stored in the suo file, so deleting the file or the .vs folder next to solution will trigger another 3 messages.

We're working on improving this experience in a future release.

Beetlejuice! Beetlejuice! Beetlejuice! Sigh

like image 102
Nigel Touch Avatar answered Nov 19 '22 07:11

Nigel Touch


This message do not show again after setting the Lightweight solution load to disabled instead of default.

To do this, select your solution and in the property window (default F4) set the Lightweight load to Disabled

Screenshots here https://learn.microsoft.com/en-us/visualstudio/ide/optimize-visual-studio-startup-time#speed-up-solution-load

like image 4
Cyrille Rougeau Avatar answered Nov 19 '22 05:11

Cyrille Rougeau