Configuration Transform

Free

Automatically transform app.config during build process. Once the transformation is set, it will run on other build machines without the extension.

(18) Review
Visual Studio
2013, 2012, 2010
Download (10,226)
4/13/2014
1.4
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (18)
Q and A (16)
Sign in to write a review
Sort by:

by Oleksiy Mishchenko | April 18 2014

Great little tool!
Easy to install and use.
Works well as expected.

Thanks!

by El Bruno | March 30 2014

Amazing app! I used it a lot!
Thanks

by _db | March 18 2014

Works like a charm!

by deadlyvices | February 17 2014

Fantastic little utility: one of those problems that seems to be blinding obvious to everyone once it's solved. It's robust and easy to use and saves huge amounts of time.

by BuzzoCraft | January 27 2014

by CrappyCode | January 23 2014

Works flawlessly.
Definitely should be integrated into VS.
Thanks for this, Golan!

by GregOsborne | December 05 2013

Great extension.

Would like to see it work with Silverlight on the ServiceReferences.ClientConfig file.

by Stinky Buffalo | October 30 2013

Top notch. This is the lightweight solution I was looking for, and has saved me lots of time. Thank you!

by IdleMonkeys | September 09 2013

by Sebastien Curutchet | August 14 2013

I've just played with appsettings and it is very useful.
Thank you for this addon

by gocoelho | June 24 2013

Adds the same behavior that emerged in Web.Config files. The feature should be included as native in Visual Studio.

by korolei1 | June 12 2013

Works like a charm!
Thanks Golan!

by Michael C. Denny | May 10 2013

works as expected, for me is a must tool!

by John Calvert | April 05 2013

Useful and lightweight tool that has no impact on other devs in the same team. Highly recommend it. Very small glitch that requires a minor hand edit to fix a path.

Golan Avraham May 03 2013
| Edit |
Delete

glitch was fixed in version 1.2
thanks

by Alfontz | January 08 2013

Very nice. A must have! Thanks.

by Cy Moehl | November 27 2012

Clean and simple. Big benefit for us is that no 3rd party software is required once projects are updated.

by KenC0000 | July 16 2012

Works great! Thank you for building this.

by Tepper Amir | May 28 2012

Great extension! works as expected, practical and saves a lot of time!

Sign in to start a discussion


  • All config files transform option
    1 Posts | Last post April 16, 2014
    • Hi.
      Please can you add transform to all *.config files  and not only to app.config files ?
      Thanks a lot.
  • ClickOnce deploy VSTO issue
    4 Posts | Last post March 13, 2014
    • Not sure if this issue is the extension, or the standard MSbuild targets. If I create a VSTO project (Word add-in), use your extension to transform app.config depending on configuration, then use publish to deploy, it appears the config file included with the deployment is the original un-transformed app.config, not the transformed one generated in the build process. This is a pain, because it means I have to have a script to copy the correct config after I publish.
      
      I'm tending to think it's an issue with the common msbuild targets, but I thought I'd ask here before I delve into that haystack.
    • Class library project(Word Add-In) is not is missing the AfterPublish target
      It can be supported very easily
      
      Try this:
      Unload Project-> edit wordaddin.csproj
      After <Target Name="AfterCompile"…> and before </Project>
      
      Add this:
        <Target Name="AfterPublish">
          <PropertyGroup>
            <DeployedConfig>$(_DeploymentApplicationDir)$(TargetName)$(TargetExt).config$(_DeploymentFileMappingExtension)</DeployedConfig>
          </PropertyGroup>
          <!--Publish copies the untransformed App.config to deployment directory so overwrite it-->
          <Copy Condition="Exists('$(DeployedConfig)')" SourceFiles="$(IntermediateOutputPath)$(TargetFileName).config" DestinationFiles="$(DeployedConfig)" />
        </Target>
      
      Save file->Reload Project
      
      Update me if it solved your issue I’ll include this change in my next release
      
    • Class library project(Word Add-In) is missing the AfterPublish target
      ...
    • You guys did very good job by providing this extension. I am using VS2010 but my deployment project always picks up the untransformed app.Config. Can you let me know what else I am missing?
      
      Thanks,
      Mohan
  • any plan to add "preview" feature?
    6 Posts | Last post March 01, 2014
    • is there a way we can preview web.cofig files?
    • Thought about this feature, I cannot commit but I'll try implement in next releases
    • tahks for this extension. And ability to preview App.config would be awesome :)
    • That would be a great feature to have. Really appreciate this extension! It's proving to be very useful.
    • Extension works great, adding the preview would sweeten the deal.
    • "Preview Transform" just like the Web.Config feature would be a killer!
  • Do transformations also apply to local builds / F5?
    1 Posts | Last post February 12, 2014
    • I can get the transformations working only for publish...but not for local dev/F5.  Does this extension support this?
      
      Thanks,
      J
  • Transforming WSDL files
    1 Posts | Last post February 03, 2014
    • I want to use this to create transforms for XML files which do not have a .config extension.  For example WSDL files.  But I don't get the option to add tranforms.  Can this be fixed?
  • azure package
    1 Posts | Last post December 13, 2013
    • How can I have the transform applied when the project is built when an Azure solution is packaged? If I build the class library with Release, the app.config transform works as expected, but when the Azure solution builds the same class library for Release package it does nothing. The Azure solution is a worker role.
  • VS 2012 - Problem
    2 Posts | Last post November 26, 2013
    • I've a problem with my app.Debug.config file.
      I followed completely your explanations, but the problem persist.
      
      My App.config:
      <?xml version="1.0" encoding="utf-8" ?>
      <configuration>
        <appSettings>
          <add key="Environment" value=""/>
        </appSettings>
      </configuration>
      
      My App.Debug.config file :
      <?xml version="1.0" encoding="utf-8"?>
      <!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
      <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
        <appSettings>
          <add key="Environment" value="Debug" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
          
          <add key="Mytestkey" value="testonly"/>
        </appSettings>  
      </configuration>
      
      When i build my project into the debug mode, the created Myapp.exe.config file is : 
      <?xml version="1.0" encoding="utf-8"?>
      <configuration>
        <appSettings>
          <add key="Environment" value="Debug"/>
        </appSettings>
      </configuration>
      
      Thanks for your help and this extension.
      
    • the build configs(App.Debug.Config, App.Release.Config etc.) are doing the transformations not adding new nodes to config.
      if you want to change <add key="Mytestkey" value="testonly"/> add it to App.config and change it's value in the build configs
  • phklemmensen
    1 Posts | Last post November 20, 2013
    • Is the hierarchic view of the *.config files also supported with Visual Basic projects in Visual Studio 2012?
  • SiteMap
    1 Posts | Last post October 26, 2013
    • hello
      
      is it possible to use this Tools with SitMap file?
  • What is the main difference between this and Slow Cheetah?
    2 Posts | Last post October 01, 2013
    • Slow Cheetah is another extension that offers config transform. Are there any major differences between this and that?
    • As far as I remember and that’s why I have created this extension slow cheetah requires external assembly for transformation
      If you work in teams that can become a problem since you cannot force others to install extensions
      I picked again to this project and see that they solved this by using nuget package
      Configuration Transform doesn’t requires any external dependencies or neget packages for others(including build servers) to build the transformations
      My advice to you is to try them both and then decide which suits you best
      
1 - 10 of 16 Items