views:

24

answers:

0

This is a follow up to the my previous post http://stackoverflow.com/questions/3684878/different-configuaration-string-for-specific-build-configuration on figuring out on how to create different configuarions for different build configurations in VS2010 (ex. "Debug", "Relese", "Myconfig")

After doing so, I have 3 files, with a differenct "ConnectionString" in it. What I'd like to do is protect the sensitive information in it.

I tried using Enterprise library for that, which worked just fine utiil I used a solution described in http://exceptionalcode.wordpress.com/2010/06/21/visual-studio-app-config-xml-transformation/. After which Enterprise Library no longer recognizes the App.config as a valid configuarion file.

How would You suggest solving this problem and can Enterprise library be used in this situation ?