Saving files to a VPN in Visual Studio 2010 very slow [closed]
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this questionI'm connecting to a VPN so I can work at home, but when I open small ASPX files and make minor changes and save them, it's incredibly slow.
Also even doing simple things like clicking a different line in the file to move the c开发者_开发问答ursor is lagged noticeably.
Is this a known issue, or is this as I 99% suspect just down to network connection. I wasn't expecting it to be this slow.
Working with files over a VPN will be slow, as Visual Studio will be tracking changes in that file while it is open.
- Try disabling 'Track Changes' in Visual Studio, under Text Editor section in options.
- Failing that, you should copy the files to your local machine and work from there, when finished copy back. You can use the folder to sort by last modified to make it easier to find the edited files when you copy back.
- Ideally, when working with remote codebases, you should use a repository rather than flat file storage. Something like GIT or SVN, and then 'push' your code changes back.
In any case, working over VPN always is always slow. Check VPN settings (compression, multilink), perhaps map the remote folder to a network drive, turn of 'use default gateway' on the VPN connection itself; these are methods I use to speed up VPN performance in general.
精彩评论