在 Visual Studio 2010 中将文件保存到 VPN 速度非常慢

发布于 2024-09-16 06:08:56 字数 1549 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

廻憶裏菂餘溫 2024-09-23 06:08:56

通过 VPN 处理文件会很慢,因为 Visual Studio 将在文件打开时跟踪该文件的更改。

  1. 尝试在 Visual Studio 中的选项中的文本编辑器部分下禁用“跟踪更改”。
  2. 如果失败,您应该将文件复制到本地计算机,并在完成复制回来后从那里开始工作。您可以使用该文件夹按上次修改时间排序,以便在复制回来时更容易找到已编辑的文件。
  3. 理想情况下,在使用远程代码库时,您应该使用存储库而不是平面文件存储。像 GIT 或 SVN 这样的东西,然后“推”回你的代码更改。

跟踪更改选项

无论如何,通过 VPN 工作总是很慢。检查 VPN 设置(压缩、多链接),也许将远程文件夹映射到网络驱动器,在 VPN 连接本身上打开“使用默认网关”;这些是我用来提高 VPN 性能的一般方法。

Working with files over a VPN will be slow, as Visual Studio will be tracking changes in that file while it is open.

  1. Try disabling 'Track Changes' in Visual Studio, under Text Editor section in options.
  2. 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.
  3. 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.

Track Changes Option

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文