Copied to clipboard

Flag this post as spam?

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


  • Jeroen Breuer 4909 posts 12266 karma points MVP 6x admin c-trib
    Jul 10, 2009 @ 15:36
    Jeroen Breuer
    0

    Edit web.config

    Hello,

    I'm trying to create a package which needs to update the web.config. After the installation is complete I would like the web.config to be updated with an extra section in the configSections. Is there a simple way to do this or should I update the web.config file by reading the entire file and edit it in c# and the write it back to the server. I think I'm getting the hang of creating packages and I must say it works perfect!

    Jeroen

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 10, 2009 @ 15:40
    Dirk De Grave
    101

    Jeroen,

    I've created a package action that handles that sort of web.config changes. Have a look here and here

     

    Cheers,

    Dirk

  • Jeroen Breuer 4909 posts 12266 karma points MVP 6x admin c-trib
    Jul 10, 2009 @ 15:47
    Jeroen Breuer
    0

    Thank you Dirk! This is just what is was looking for.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies