Copied to clipboard

Flag this post as spam?

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


  • Dmitriy 168 posts 588 karma points
    Mar 13, 2018 @ 16:52
    Dmitriy
    0

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

    Hello!

    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 6131 posts 23950 karma points MVP 7x admin c-trib
    Mar 13, 2018 @ 16:57
    Alex Skrypnyk
    100

    Hi Dmitriy

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

    Thanks,

    Alex

  • Dmitriy 168 posts 588 karma points
    Mar 16, 2018 @ 11:50
    Dmitriy
    0

    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:

Draft