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.

(42) Review
Visual Studio
2013, 2012, 2010
Download (30,517)
1/2/2015
2.1
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (42)
Q and A (46)
Sign in to write a review
Sort by:

by Believe2014 | August 12 2015

Love it!

by James M Bristow II | July 22 2015

This is a good solution that addresses a problem that extends a configuration process implemented by Microsoft for Web Applications. However, there are some problems.
1. The formatting changes during transformation preview, preventing you from getting an accurate overview of the changes performed.
2. The 'Add Config Transforms' right-click menu command appears in Web Applications even though the built-in 'Add Config Transform' command is available. This solution should not apply to Web Applications when there is a default solution in Visual Studio.

by Axiomatic_Rubric | July 06 2015

Works perfectly with no problems. Thank you so much!

by Benjamin Joyce | April 29 2015

by Tom Kuijsten (devkoes) | March 13 2015

Brilliant, works like a charm!

by powerslide | March 09 2015

by Idsa | January 27 2015

by reddykkk | January 15 2015

by alemos | December 24 2014

This has been an awesome timesaver. I commend you on your efforts. Thank you for this extension.

I created a base app.config file and then my environment-based files with only the values that needed changes. The result is perfect, when compiling, the correct file is generated so we can test without commenting and commenting values in each environment.

I think this should be in the next release of Visual Studio.

by JCP-Displayname | November 13 2014

I added a web reference to the project and the Hierarchy of config files went flat and the transforms stopped working. Now the when you click on add config transforms you get a message no changes were made.
Also it is now transforming for the wrong configuration, it is stuck on production.
Also I can no longer view any transformations
Using VS 2010
Is there a fix or workaround for this?

by Hernan Veiras | November 10 2014

Awesome extension!

by Pablo Castilla | November 06 2014

Looks good, but I am not able to add a transform link in VS2013. I want to share the transformation between projects

Is it possible? Can you tell me the steps to do it?

Golan Avraham November 07 2014
| Edit |
Delete

it has noting to do with the extension
It's very simple
To create a link to an existing item:
In Solution Explorer, select the target project.
On the Project menu, select Add Existing Item.
In the Add Existing Item dialog box, locate and select the project item you want to link.
From the Open button drop-down list, select Add As Link.

See Linked Configs Step by Step Instructions

by mindriven | October 14 2014

by tanaka_733 | October 09 2014

This is a great tool!
It is useful because configuration transform by this extension does not depend this extension itself because it edits csproj file.

It is more better to improve config preview because preview result does not contain line break.

by Mike Calvin | October 09 2014

Works Great. I was able to add app.config transformations and preview them in less than 5 min. Perfect.

by gord888 | September 15 2014

Works great - just needs a "preview transform" functionality that web.configs have.

Golan Avraham September 28 2014
| Edit |
Delete

version 2.0 released with preview support
thanks

by IanBusko | Fri 8:42 PM

This solution fills a huge hole in Visual Studio. It's easy to setup and (for me) has done its job perfectly so far. This makes setting up test stages much easier.

by darylnight | August 06 2014

perfetta

by xuzf | July 20 2014

It solved my headache, thanks very much!

by SteveKo | July 17 2014

Great plugin. Works like a charm. Just need to read instructions properly ! :)

1 - 20 of 42 Items   
Sign in to start a discussion


  • ClickOnce Publish Location?
    1 Posts | Last post August 28, 2015
    • Is there a way to alter the publish location for a ClickOnce app via transform? As an example, I'd like to have Debug published to \\Somewhere\App and Release get published to \\SomewhereElse\App
      
      ...thoughts?
  • VS2015
    7 Posts | Last post August 18, 2015
    • Will you support VS2015 please?
    • Yes, please do! Once this and VSCommands is out for 2015, I'll be off 2013 completely.  
    • Also need for 2015!
    • SlowCheetah has a preview out for VS 2015
      
      https://visualstudiogallery.msdn.microsoft.com/05bb50e3-c971-4613-9379-acae2cfe6f9e
    • yes, pls do support VS2015.
    • This works for VS2015 until they properly update the project: https://dl.dropboxusercontent.com/u/24247931/ConfigurationTransform.vsix
    • When will VS2015 be supported? 
  • VS 2013 Update 4
    8 Posts | Last post July 14, 2015
    • I have tested the extension with VS 2013 Update 4
      All works preview/transform/linked transform
      Make sure you read the instructions especially when using linked config
      
      Demo solution:
      https://onedrive.live.com/redir?resid=C235883F28DBC48C!139&authkey=!AE6qGnmd99lwsdg&ithint=folder%2c
      
    • I'm testing out version 2.1 with VS 2013 Update 4 and I get the "different computed hash than specified in manifest" error when we try to install the app using ClickOnce.
      
      This is the same error that bluebunny was receiving in his post below.  We are currently using VS 2012 Update 4 and version 1.4 of your tool and that works fine.  I'm hesitant to update to 2.1 in case it breaks as well in VS 2012.
      
      Any ideas on how we can resolve this issue in VS 2013?  We'd like to upgrade but I won't do it if we can't use your fantastic tool.  It is possible to put version 1.4 out somewhere for download so I can try that in VS 2013?  Thanks!
    • My previous testing seemed to suggest VS 2012 Update 4 would work with version 2.1 (for ClickOnce).  (Take an system image backup before applying in case it does not!)
      
      Sadly VS 2013 Update 4 does not work with version 2.1 (for ClickOnce).
      
      This post from the VS Team has given my hope that the SlowCheetah will be updated and fully supported by VS 2015.
      
      http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2043217-support-web-config-style-transforms-on-any-file-in
      
    • Here is a link to the older version 1.4.
      
      https://onedrive.live.com/redir?resid=a18751aace9ac7a7!256350&authkey=!AMvlmhaMD_hMNfc&ithint=file%2cvsix
      
    • Golan, I downloaded you demo solution.  It does indeed work with VS 2013 Update 4 as a click once deployment!  Which got me wondering what is different about my projects.  The obvious difference was mine are all Visual Basic not C#.  
      
      Please download my demo and attempt a click once deployment.  You should experience the "different computed hash than specified in manifest" error.
      
      https://onedrive.live.com/redir?resid=a18751aace9ac7a7!256351&authkey=!AHYJz-oi1vcbnas&ithint=folder%2csln
      
      Hopefully this leads to a fix.  Would love for this to be working again with VS 2013 Update 4.
    • VS 2013 Update 4
      
      Upgraded to 2.1 and I'm now stuck in broken-land too. Thanks bluebunny for the link to the older version.
      
      I hope you have this fixed soon, as the preview feature saves a lot of time.
    • Forgot to mention I'm using VB.NET as well.
      
      Disappointed to say that reverting back to version 1.4 didn't work for me; my ClickOnce install is still broken in the same way as with 2.1:
      
      * Activation of C:\Users\***\PD-CLU.appref-ms| resulted in exception. Following failure messages were detected:
          + File, PD-CLU.exe.config, has a different computed hash than specified in manifest.
      
      Come on, Golan - people love this thing, if you could just fix it!
    • Yeah, reverting back to version 1.4 won't fix it if using VB.NET and VS 2013 Update 4.  You have to downgrade to VS 2013 Update 3 as well. :(
      
      Hoping VS 2015 comes out with this feature built-in.
  • Doesn't work with Service Projects
    1 Posts | Last post July 03, 2015
    • I have a webservice project which has an app.config which when published changes to web.config, The resulting web.config is unchanged. I have tried using a web.config and transforming that but that doesn't work
  • Transforms not working
    2 Posts | Last post May 21, 2015
    • I've tried adding this to existing projects, followed instructions, and transforms don't work. I can add a new config transforms and see previews, but when I build/rebuild solution, no transformations are applied to App.config.
      
      I've even downloaded the sample app from the description and that too does not work. I have the same problem with SlowCheetah. Any idea what the problem could be?
    • The app.config file doesn't get changed, only the <app>.exe.config file generated to your bin output folder is changed.
  • WCF Service Publish
    1 Posts | Last post April 22, 2015
    • Hi i have used the config transformation for test project in VS2013 and on building, the conifg file is getting transformed to the corresponding build environment(ex:Test). 
      
      But when i do publish the same the WCF project using VS2013, the published web.config is not getting transformed. Please advise.
  • Suppressing Output Path Modification
    1 Posts | Last post April 17, 2015
    • This is a gem no doubt!  I have one tiny little nuance I'd like to discuss. If I create a new profile, and lets say i call it "New Debug".  I noticed that after applying a transformation that it modifies my Output Path in Build Properties to "bin\New Debug".  I have numerous scripts tied to post build events, and I really don't want to change the output path ever, regardless of the profile I choose to build.  I know it's easy to go and change it back that one time and it sticks forever, but is there a way to suppress the modification to the application output property on the initial?
  • Error
    2 Posts | Last post March 25, 2015
    • I have this working for one of my projects no problem, the other is proving problematic it seems to be trying to pass in the the name CareManager.vbproj.App.Config for some reason, any ideas?
      "obj\Debug\CareManager.vbproj.App.config;obj\Debug\CareManager.exe.config" is an invalid value for the "ConfigFile" parameter of the "GenerateApplicationManifest" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem".	
      
      
    • Did you ever get a solution for this problem?
  • Carriage returns\line feeds stripped from XML Attribute values during transform
    1 Posts | Last post March 17, 2015
    • If an xml tag attribute includes carriage returns\line feeds, then these are stripped out during transform.
  • Config XML tag ending with "/> is transformed to " />
    1 Posts | Last post March 17, 2015
    • The feature "Preview Config Transforms" shows all xml tags ending with "/> 
      as " />.  An extra space is added between " and />.
1 - 10 of 46 Items