Visual Studio Advanced Installer Extension - how to package app.config files in console app

Viewed 74

I am using the Advanced installer extension in Visual Studio 2019 to package a console application. It works fine except that it does not package/install any of the .config files (such as myexe.exe.config).

Does anyone know how to get it to do this? The console application has transforms using SlowCheetah and on build places them correctly into the bin// directory.

I would expect these files to be listed as 'primary content' and exist.

1 Answers

You can manually add (one-time operation) the .config file in your setup project using the [Edit in Advanced Installer] button. Have a look on their video tutorial.

Related