简体   繁体   English

如何打开和编辑 Settings.settings 文件?

[英]How to open and edit a Settings.settings file?

I am trying to open and edit a Settings.settings file that a program uses.我正在尝试打开和编辑程序使用的 Settings.settings 文件。 I need to edit a lot of settings and if I use the programs interface it would take me hours.我需要编辑很多设置,如果我使用程序界面,我需要花费几个小时。 So, I thought I could open up its .settings file and change it easier in there.所以,我想我可以打开它的 .settings 文件并在那里更容易地改变它。

I have searched everywhere for an answer on how to open and edit this file, with no luck.我到处搜索有关如何打开和编辑此文件的答案,但没有运气。 I fond that it is a C# settings file, and Visual Basics can open it.我喜欢它是一个C#设置文件,并且 Visual Basics 可以打开它。 I believe it has something to do with the .NET framework also.我相信它也与.NET framework

I have VS express 2013 tried to find a way to open it, but for some reason I can not open it.我有 VS express 2013 试图找到打开它的方法,但由于某种原因我无法打开它。 I created a C# project in VS express, is there a way that I can import and edit this file form there?我在 VS express 中创建了一个C#项目,有没有办法在那里导入和编辑这个文件表单?

you can open and edit it from VS.您可以从 VS 打开和编辑它。 On solution Explorer go to:在解决方案资源管理器上转到:

Your Project->Properties->Settings.settings (right click-> Open)

Have in mind, that if your project does not connect any settings file, then none will displayed on Solution Explorer.请记住,如果您的项目未连接任何设置文件,则解决方案资源管理器上将不会显示任何设置文件。

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

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