Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Dmitriy 94 posts 355 karma points
    Mar 13, 2018 @ 16:52

    How to update Umbraco and don't rewrite umbracoSettings.config


    I always update Umbraco with NuGet, but noticed that config/umbracoSettings.config rewrites to unchanged state. It contains a few important things for my sollution and I afraid users can erase them when will update Umbraco by themselves.

    How to update Umbraco and merge my umbracoSettings.config and new umbracoSettings.config?

  • Alex Skrypnyk 4695 posts 16793 karma points MVP 2x admin
    Mar 13, 2018 @ 16:57
    Alex Skrypnyk

    Hi Dmitriy

    Make a backup of config/umbracoSettings.config, rewrite it with new one and then compare files with WinMerge tool -



  • Dmitriy 94 posts 355 karma points
    Mar 16, 2018 @ 11:50

    Hi, Alex

    I counted on more reliable solution =) Unfortunatly, that way would't save that file if user update Umbraco :(

    How do others deal with it? I am thinking about EventHandler that would be cheack config files for nodes needed before app launch.

    Thank you anyway =)

Please Sign in or register to post replies

Write your reply to: