简体   繁体   English

如何在Visual Studio 2017中重置默认设置存储路径?

[英]How to reset the default settings store path in Visual Studio 2017?

With importing and exporting settings I've somehow changed the default save location for the settings in VS 2017 - they're landing on my Desktop. 通过导入和导出设置,我以某种方式更改了VS 2017中设置的默认保存位置-它们已降落在我的桌面上。 Also a settings reset did not help. 同样,设置重置也无济于事。

I want it do be the default path again. 我希望它再次成为默认路径。 Any ideas are welcome. 任何想法都欢迎。 Btw. 顺便说一句。 it's VS 2017 Enterprise with all latest updates. 它是VS 2017 Enterprise,具有所有最新更新。

Thanks. 谢谢。

I've found it by myself. 我自己找到的。

The filename and path can be changed under "Options" -> "Environment" -> "Import and Export Settings". 可以在“选项”->“环境”->“导入和导出设置”下更改文件名和路径。 And the default path and filename is: c:\\users\\USERNAME\\documents\\visual studio 2017\\settings\\CurrentSettings.vssettings. 默认路径和文件名是:c:\\ users \\ USERNAME \\ documents \\ visual studio 2017 \\ settings \\ CurrentSettings.vssettings。

When you say 'default save location', is it the location you're prompted to save when you create a solution first? 当您说“默认保存位置”时,是您首先创建解决方案时提示您保存的位置吗?

If so, go to Tools > Options > Projects and Solutions > General, and you can change those locations there. 如果是这样,请转到工具>选项>项目和解决方案>常规,然后可以在此处更改这些位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM