Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 使用installshield自定义app.config_C#_Visual Studio 2012_Installation_Installshield_Installshield Le - Fatal编程技术网

C# 使用installshield自定义app.config

C# 使用installshield自定义app.config,c#,visual-studio-2012,installation,installshield,installshield-le,C#,Visual Studio 2012,Installation,Installshield,Installshield Le,我从VS2010迁移到VS2012,我的旧安装程序项目与VS2012不兼容,因此我正在使用InstallShield Limited Edition 现在我有这个问题,, 2010年, 我对每个项目都有单独的app.config 发展 -app.config 刺激 -app.config 现在,如果我也这样做,并构建安装程序, 安装程序将在安装文件夹中创建两个文件 Progfiles/MyApp/app.config 和progfiles/MyApp/MyApp.exe.config 我的应用程

我从VS2010迁移到VS2012,我的旧安装程序项目与VS2012不兼容,因此我正在使用InstallShield Limited Edition

现在我有这个问题,, 2010年, 我对每个项目都有单独的app.config

发展 -app.config

刺激 -app.config

现在,如果我也这样做,并构建安装程序, 安装程序将在安装文件夹中创建两个文件 Progfiles/MyApp/app.config 和progfiles/MyApp/MyApp.exe.config


我的应用程序从.exe.config文件获取应用程序设置。如何使我的Dev安装程序从Dev/app.config文件读取,并使Prod安装程序从Prod/app.config文件读取。

Dev/Prod有两个独立的项目,那么为什么要在一个安装程序中同时添加这两个输出,而不是在一个安装程序中同时添加这两个输出呢?@PiyushParashar我没有在一个安装程序中同时添加这两个输出,我有两个独立的安装程序。