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

2 posts, 0 answers
  1. Kyle
    Kyle avatar
    1 posts
    Member since:
    Mar 2013

    Posted 02 Mar 2013 Link to this post

    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!
  2. Jack
    Jack avatar
    2335 posts

    Posted 06 Mar 2013 Link to this post

    Hello Kyle,

    The App.Config file is generated automatically when there are custom settings in your project. You should specify a custom configuration file in this scenario, however this question is outside of the scope of our controls. I recommend that you direct your question to the appropriate MSDN forum.
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
  3. DevCraft R3 2016 release webinar banner
Back to Top