部署时如何重命名app.config(.exe.config)? [英] how to rename app.config(.exe.config) while deployment?

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

问题描述

我有一个Windows窗体应用程序,我想在运行时将.exe.config文件的扩展名更改为.config。有谁可以知道怎么做?

请帮帮我。



提前谢谢

i have a windows forms application and i would like to change the extension of the .exe.config file to .config during run time . can anyone have any idea of how to do it?
please help me out.

thanks in advance

推荐答案

这不是改变系统已经定义的好方法。所以最好改变你解决问题的方法。



顺便问一下你为什么要改变它?
That is not a good approach to change what the system has already defined. So better change your approach in solving the problem.

By the way why are you changing it?


这篇关于部署时如何重命名app.config(.exe.config)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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