Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Using MSDeploy Web Transforms

    Scheduled Pinned Locked Moved Support
    buildmasterconfiguration-files
    3 Posts 1 Posters 12 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      In our projects we have multiple config files for each environment using the techniques prescribed by Microsoft as outlined here:
      http://msdn.microsoft.com/en-us/library/dd465326.aspx

      So we have the following files:
      web.config
      web.Deploy.config
      web.Release.config

      As we are a small development team this makes life very simple as we do not need to leave Visual Studio to make changes to these files. Added to that they are version controlled in case we ever need to roll back.

      We would like to continue using this method and we are not interested in moving these different files into BuildMaster's configuration management system.

      How can we get BuildMaster to work with these files or use MSDeploy to create our deployment artifacts?

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Even outside of BuildMaster configuration file management, we generally do not recommend the transform approach as it would be easier just to have each config be a simple text file instead of adding the extra level of indirection. That being said, you can certainly still automate this with a combination of the Build .NET MSBuild project and the following MSBuild task:

        http://stackoverflow.com/questions/2905151/msbuild-script-and-vs2010-publish-apply-web-config-transform

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Thanks for your reply, advice and for pointing us in the right direction.
          I think we need to rethink our web.config procedures.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation