Working efficiently on remote projects in Visual Studio

荒凉一梦 提交于 2019-12-12 12:30:14

问题


On occasion I telecommute and need to work on the project files on my box at the office via my laptop. I bounce back and forth between two methods of doing this:

  1. I remote into the machine at my office and work on the instance of Visual Studio on that machine through RDP.
  2. I have the folder containing the solution files set up as a network share and load the solution on my local (laptop) install of Visual studio

These options are far from perfect. Loading the solution via network share makes for a responsive experience unless VS needs to read/write files, which happens with more actions than one might realize. The RDP method avoids the network latency of reading and writing files, but makes for a laggy experience, plus I have to reconfigure VS's layout everytime I log in to accommodate a single monitor.

What I'd like to do is continue to work on my local/laptop copy of VS but figure out a way to speed it up substantially. For a variety of reasons, I do not want to have to commit to and pull from source control to share across machines.

Any suggestions on how to speed up working with Visual Studio when loading remote project files?


回答1:


Storing your local files under a Dropbox installation can help with synchronizing your files, but it comes with a couple caveats:

  1. On each machine that you synchronize, you must be able to store the files under your /Dropbox directory. This may be feasible on your laptop but not on your office box, for example.

  2. Dropbox synchronizes at its own casual pace. This is most noticeable on its initial sync, but also imposes a short delay on subsequent synchronizations. When you open your laptop at home, you'll need to keep an eye on the taskbar icon to ensure it is "up to date" before you begin working.

Given those caveats, I love using Dropbox for my personal projects for a couple reasons:

  1. Since I don't use source control on those projects, it is relatively easy to overwrite something you want to keep. Dropbox gives you fast access to your entire revision history, allowing you to roll back whenever needed. This does not count against my free quota.

  2. Even when I delete or remove files, Dropbox continues to store them and allows me, years later, to undelete and recover them. Again, all of this happens without impacting my free quota.

As the OP mentioned in the question's comments, Google Drive offers a solution similar to Dropbox.



来源:https://stackoverflow.com/questions/19573089/working-efficiently-on-remote-projects-in-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!