VS2013 无法从 TOOLS 导入设置>导入和导出设置 [英] VS2013 cannot import settings from TOOLS>Import and Export Settings
问题描述
我试图将一些设置导入到 VS2013,但在几步之后,当我单击下一步"时,向导窗口就消失了.向导关闭,什么也不做.
I was trying to import some settings to VS2013, but after a few steps the wizard window just disappears when I click Next. The wizard is closed and does nothing.
工具 > 导入和导出设置 > 导入选定的环境设置>不只是导入新设置,覆盖我当前的设置;在这里按下一步,窗口就消失了,没有触发任何动作.
TOOLS > Import and Export Settings > Import selected environment settings>No just import new settings, overwrite my current settings; press Next here, the window just goes away, triggering no action.
事实上,Import selected environment settings 下的所有选项什么都不做;向导窗口直接消失,没有触发任何操作.
In fact all options under Import selected environment settings does nothing; the wizard window just goes away without triggering any action.
我尝试导出设置,它工作正常.
I tried export settings it work fine.
有人知道为什么吗??
更新@2015.01.15.问题仍然存在.我关闭了各种 Windows 服务,这也可能是一个潜在原因.但是由于它仍然可以使用命令窗口进行导入,而且我只需要很少这样做,所以我有点把它放在后面继续前进.如果有人能指出确切的原因,那就太好了..
update@2015.01.15. Problem still persists. I have various Windows Services turned off that could be a potential cause as well. But since it still works with command window to import and I only need to do this very rarely, I've kinda put this behind and moved on. Still nice if someone can point out the exact cause..
推荐答案
UPDATE:这在 VS2017 中仍然有效!(v15.8.8)
<小时>遗憾的是,这是 2013 年的错误.我能够使用@ https://msdn.microsoft.com/en-us/library/ms241277.aspx?f=255&MSPPError=-2147217396
使用 Ctrl+Alt+A 获取命令窗口使用以下语法:
Using Ctrl+Alt+A to get the command window use the following syntax:
Tools.ImportandExportSettings [/export:filename | /import:filename | /reset]
示例:
Tools.ImportandExportSettings /import:"C:\Users\Joe\Documents\Visual Studio 2012\Settings\MyFile.vssettings"
我的 2013 版本细节:
My 2013 version specifics:
这篇关于VS2013 无法从 TOOLS 导入设置>导入和导出设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!