Reputation: 55
I'm running Visual Studio Professional 2015 on Windows 10, and I'm attempting to connect to Visual Studio Online using the "manage connections" feature from the team explorer. Every time I click on Manage Connections \ Connect to Team Project, an error appears immediately above:
SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
Based on researching this issue, this error appears in various forms in previous versions of Visual Studio, but it's not clear to me how to fix it in 2015. Here are a couple of things I tried...
Is anyone aware of a patch/fix for this issue, or an alternative way to connect to VSO other than the Manage Connections \ Connect to Team Project feature?
Upvotes: 4
Views: 3223
Reputation: 1
VS 2015 UI does not manage the high resolution well. Most of us will use a full-screen RDP connection to the virtual machine, Windows takes the native resolution of your notebook by default, passes this to Visual Studio and this leads to the said error message. The full HD resolution of 1920 x 1080 already means trouble.
The solution is simple:
Next time, the error message will not occur even when connecting to another DevOps server.
Upvotes: 0
Reputation: 151
I had this error when connecting to a VM via hyper-v. I was connecting using a remote desktop connection and my resolution was 4k (3840x2160) with some scaling. The only way I could get rid of this problem was by shutting down the VM, then setting the resolution on the remote desktop connection to 1920x1080, and then powering up the VM again. Making the connection in Visual Studio to the repository and then restoring the resolution back to 3840x2160.
Upvotes: 0
Reputation: 29968
You can refer to the workaround in this http://blogs.recneps.net/post/Issue-setting-up-Raspberry-Pi-Windows-10-IoT-core-and-Visual-Studio-on-a-Windows-10-VM for details.
Quote the steps here:
Open up Team Foundation Server online at .visualstudio.com. Click code, then navigate to the project you want to open, click on the solution file which then opens the solution in the web editor. Click the visual studio icon and VS opens with the team project now in team explorer. Close VS and open it again and your team project should still be connected to team explorer
Upvotes: 2