locked
Deployment and Encryption Of App.Config For WIndows Forms Releases Two App.Config Files - One Encrypted One Not RRS feed

  • Question

  •                 The title says everything - I am deploying an application and there are two files that are being created upon setup and load event. I am encrypting the app.config connection string using MSDN code that I found. However, when I deploy and run the program it creates two folders in my AppData/2.0/ folder structure with two ApplicationName.exe.config files. One of them is encrypted as you would expect, the other is not. I am not sure what is going wrong or how to prevent the application from creating two app.config files but especially the one that is not encrypted. Thank you!


    Kyle Denney

    Saturday, March 2, 2013 7:14 PM