部署后如何编辑app.config文件. [英] How to edit app.config file after deplyment.

查看:160
本文介绍了部署后如何编辑app.config文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建Windows应用程序.我正在使用SQL Server Compact As后端.我在app.config文件中写入连接字符串.如何使用可编辑的app.config文件进行设置?我在安装程序中包含了app.config.
谢谢inadvance

I am building a windows app. I am using SQL Server Compact As backend. I write connection string in app.config file. How to make setup with editable app.config file ? I included app.config with setup.
thanks inadvance

推荐答案

app.config文件设置将在 YourApplication.vshost.exe xml配置文件和 YourApplication中可用. exe xml 配置文件.
这两个文件都安装在您的部署文件夹中.
您可以将这些文件作为连接字符串或这些文件中可用的任何其他设置进行编辑.
希望对您有所帮助.
The app.config file settings will be available in YourApplication.vshost.exe xml confifuration files and YourApplication.exe xml configuration file.
These both files installed in Your deployment folder.
You can edit these files as Connection string or any other settings available in these files.
hope it will helps you.


链接-[运行时Web.config/App.配置编辑] [ ^ ]可能会帮助您.
This Link-[Runtime Web.config / App.config Editing ][^] might help you.


这篇关于部署后如何编辑app.config文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆