Copied to clipboard

Flag this post as spam?

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

  • Dmitriy 56 posts 237 karma points
    1 week ago

    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 4409 posts 15799 karma points MVP
    1 week ago
    Alex Skrypnyk

    Hi Dmitriy

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



  • Dmitriy 56 posts 237 karma points
    6 days ago

    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: