Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3802518
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:13:16+00:00 2026-05-19T14:13:16+00:00

I have an application that will be deployed onto quite a few servers and

  • 0

I have an application that will be deployed onto quite a few servers and virtual machines here. This application heavily relies on certain file locations and URLs (which can be different depending on what part of the corporate network it’s on, if it needs a domain name, if it uses a mapped drive, etc…). Some of these deployments are not guaranteed to be setup by me, some will be set up by other end users.

My solution was to put these into values in the app.config file, so that after deployment, whoever is setting the application up on a server has to just change the app.config settings for what works for that server.

I then found out about ClickOnce deployments which can help simplify the deployment and updating of the application, which will make things much simpler.

The problem is I cannot find a reliable way to allow users to change the values in app.config, and preferably keep those values post-updating. From what I have found on the web, if you modify a system file it will think the file is old and download the latest version of that file, thus undoing any modifications to app.config. It also seems like new versions are deployed into a totally different folder than previous versions, so upgrading the application will completely wipe out previous modifications.

I have searched the web and am coming up empty handed. Does anyone here have any suggestions on how to handle this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T14:13:17+00:00Added an answer on May 19, 2026 at 2:13 pm

    I have solved this by using user scoped application settings, as described here. While it isn’t the best method (since it’s user specific not application specific), since my app is only run by one user this is fine.

    When the user changes their settings, the changes persist across updates.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are creating a multi-tenant ASP.NET MVC application that will be deployed onto Windows
We have an application that will be collecting data and storing it in local
I have a console application that will be kicked off with a scheduler. If
I have a PHP application that will on occasion have to handle URLs where
If you have a web application that will run inside a network, it makes
I'm writing a web application that will have plugins. The plugins will be .DLL
I have been asked to build a web application that will be used to
I am using asp.net MVC to develop an application that will have ajax interactions.
We have an application that uses a dual monitor setup - User A will
I have an application that uses the accelerometer. Sometimes, the application will launch without

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.