I can change the build configuration from debug to release (or other debug configurations that I created), but when I change back to debug, Visual Studio freezes. Memory usage keeps climbing and climbing, until Visual Studio restarts by itself after an hour or so.
I'm sure that's going to get fixed at some point. As a temporary work-around, I was hoping to change which configuration is selected on startup by changing .suo file. However, that appears to be a binary file, and I see no easy way to edit it. Other than deleting the .suo file, is there another way to either select which configuration is selected on startup? Or suggestions to avoid the hanging? I have tried lightweight solution loading, and it made no difference.
I deleted the .suo file, and, as expected, a new one was recreated. The new .suo is 6kb big. The old .suo file is 13MB big.
After deleting the big .suo file I was able to switch back and forth between build configurations. The .suo file is hidden in
C:\dev\[solution name]\.vs\[solution name]\v15\.suo
(that's right, there is no filename, just a .suo extension)
This is an old question but I found one solution that folks can use. All we need to do is:
GlobalSection(SolutionConfigurationPlatforms) = preSolution
, cut the build that you don't want. For eg. To remove debug, cut Debug|x86 = Debug|x86If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With