在 Visual Studio 2010 中的计算机之间同步设置
是否可以在 Visual Studio 2010 中的计算机之间同步设置?我知道您可以通过导出设置然后将它们复制到另一台计算机或将它们放入投递箱或其他东西来做到这一点。所以我想知道是否还有其他方法可以做到这一点?
Is it possible to sync settings between computers in Visual Studio 2010? I know you can do it by exporting your settings then copying them over to another computer or putting them in drop box or something. So I was wondering if there is any other way to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
在工具>下选项>环境>导入和导出设置有一个选项可以自动将我的设置保存到此文件。然后,您可以将其设置为要同步的任何计算机上共享位置(共享网络文件夹、文件同步服务等)中的文件。就我个人而言,我使用 Dropbox 以这种方式共享我的设置,没有任何问题。
Under Tools > Options > Environment > Import and Export Settings there is an option to Automatically save my settings to this file. You can then set this to a file in a shared location (shared network folder, file syncing service, etc) on any computer you want to sync. Personally I share my settings this way using Dropbox without any problems.
有一个名为 ExtensionSync 的新 Visual Studio 扩展,由 Latish Sehgal 创建。
将此扩展添加到 Visual Studio 中,每次启动时它将读取并更新您的设置。
有关更多信息,请访问
There is new Extension for Visual Studio called ExtensionSync created by Latish Sehgal.
Add this extension into Visual Studio and it will read and update your settings each time it starts.
Further information can be found on this blog post.
我找到了 VS 设置同步的最佳解决方案 - 它称为 Pepper,是一个免费的 Visual Studio 2010 扩展。它使用 Windows Azure 存储设置,因此可以在任何地方使用它们。
I found the best solution for VS settings synchronization - it is called Pepper and is a free Visual Studio 2010 extension. It stores the settings using Windows Azure so they are available anywhere.
我之前曾使用 Microsoft Live Mesh 来保持文件夹同步。或者可能有一个“用户数据路径”设置,您可以设置为使用 DropBox/ZumoDrive 驱动器号之类的东西。
注意:您可以同步“设置”文件夹来获取大部分内容,但已安装的扩展存储在 %LocalAppData%\Microsoft\VisualStudio\10.0\Extensions 中(在我的计算机上:C:\Users{用户名}\AppData\Local\Microsoft\VisualStudio \10.0\扩展)
!?!?!?!?有谁知道为什么 MS 坚持继续使用 Documents\Visual Studio 2010 来处理所有违背他们自己的应用程序设计指南的事情?!?!?!?
I've used Microsoft Live Mesh to keep folders in sync before. Or there's probably a "user data path" setting you can set to use something like DropBox/ZumoDrive drive letter.
Note: You can sync your Settings folder to get most stuff, but installed Extensions are stored in %LocalAppData%\Microsoft\VisualStudio\10.0\Extensions (on my machine: C:\Users{username}\AppData\Local\Microsoft\VisualStudio\10.0\Extensions)
!?!?!?!? Does anyone know why MS insists on continuing to use the Documents\Visual Studio 2010 for everything against their own Application Design Guidance?!?!?!?
我推荐免费扩展:
VSCommands for Visual Studio 2010
http://visualstudiogallery.msdn.microsoft.com/d491911d-97f3-4cf6-87b0-6a2882120acf
Visual Studio 2012 的 VSCommands
http://visualstudiogallery.msdn.microsoft.com/a83505c6-77b3-44a6-b53b-73d77cba84c8
查看完整功能列表
详细信息包括:
下载量超过一百万!
ps 我不知道 SquaredInfinity,但我是 SquaredInfinity 的忠实粉丝扩展并想分享它:)
I would recommend the free extension:
VSCommands for Visual Studio 2010
http://visualstudiogallery.msdn.microsoft.com/d491911d-97f3-4cf6-87b0-6a2882120acf
VSCommands for Visual Studio 2012
http://visualstudiogallery.msdn.microsoft.com/a83505c6-77b3-44a6-b53b-73d77cba84c8
View the full feature list
With details of:
Over a million downloads!
p.s. I don't know SquaredInfinity, but I am a big fan of the extension and want to share it :)
我正在使用 概述的解决方案在这篇博文中,到目前为止,它运行得非常好。
我使用 3 台机器,所有的东西都保持同步,包括扩展。
我注意到,如果我一次在多台计算机上打开 VS,会出现一些奇怪的情况,因为当您关闭 Visual Studio 时,它会写入 vsSettings 文件。除此之外,它的效果很好。
更新: Productivity Power Tools 的运行效果不太好,因为它需要将扩展安装在“每个用户”位置才能正常运行。
I am using the solution outlined in this blog post and so far it is working really well.
I use 3 machines and all of them keep everything in sync, including extensions.
I noticed some oddities if i had VS open on more than one machine at a time, because it writes to the vsSettings file when you close Visual Studio. Other than that, it works great.
UPDATE: Productivity Power Tools doesnt play so nicely, as it requires the extension to be installed in the 'per user' location to function correctly.
自 Visual Studio 2015 起,设置会自动保存并同步到所有计算机。更多详细信息请参见:https://learn.microsoft.com/ en-us/visualstudio/ide/synchronized-settings-in
Since Visual Studio 2015, settings are saved and synchronized to all computers automatically. More details here: https://learn.microsoft.com/en-us/visualstudio/ide/synchronized-settings-in