Copied to clipboard

Flag this post as spam?

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


  • sami 22 posts 104 karma points
    May 25, 2012 @ 10:21
    sami
    0

    package action not working alias="AddConfigurationSection"

     

    Hi all,

    Can anyone tell me why the following in my package.xml may not be working

     <Action runat="install" undo="true" alias="AddConfigurationSection">
          <Section name="uAV" type="uAV.Config" />
        </Action>
        <Action runat="install" undo="true" alias="AddXmlFragment" file="~/web.config" xpath="/configuration" position="end">
          <uAV configSource="config/uAV.config" />
        </Action>
      </Actions>

  • Stephen Roberts 47 posts 516 karma points c-trib
    May 25, 2012 @ 10:32
    Stephen Roberts
    0

    have you installed http://packageactioncontrib.codeplex.com/ ?

     

    AddXmlFragment isnt a built in action, it requires an extra dll.

  • sami 22 posts 104 karma points
    May 25, 2012 @ 11:18
    sami
    0

    That's done it,  thanks Stephen. :)

  • Stephen Roberts 47 posts 516 karma points c-trib
    May 25, 2012 @ 12:17
    Stephen Roberts
    0

    no problems :)

  • 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