问题描述:

I would like to add more app.configs other than just the debug and release. Is this possible?

网友答案:

You need to create a solution configuration for each app.*.config file and then rerun the transform.

  1. In Visual Studio go to the Build menu > Configuration Manager
  2. Beneath Active solution configuration select <New...>
  3. Enter a name. This will be the name in app.NAME.config.
  4. Click OK and return to Solution Explorer.
  5. Right-click app-config and select Add Transform. The new app.NAME.config will appear.
相关阅读:
Top