Hello!,
I am trying to create an installer (enterprise), and I don't know how to set a value into an appsettings.json depending on which DB configuration the user set up.
As ConnectionString changes depending on the provider, what I need is to set the value of ConnectionString key "DbConnection" on my appsettings according to the provider [PROVIDER_PROP] chosen by the user throughout the installation.
I have tried to add a new item into the ConnectionString section, and set a condition, but I need the same key name (DBConnection) in any case (SQL Server, MySQL or Oracle) and cannot do it.
Thanks in advance for your support.
Best Regards,
Miguel
FOLLOW US
Get the latest news in Application Packaging