[Mono-aspnet-list] Web.config transformations

Alexander M. Batishchev abatishchev at godfather.net.ru
Thu Jun 23 01:32:45 EDT 2011


As far as I know regarding Visual Studio, WCT is performed only on deploy in
selected build configuration, and is not during local debug.

Alex

-----Original Message-----
From: mono-aspnet-list-bounces at lists.ximian.com
[mailto:mono-aspnet-list-bounces at lists.ximian.com] On Behalf Of Christopher
Thielen
Sent: Thursday, June 23, 2011 3:23 AM
To: mono-aspnet-list at lists.ximian.com
Subject: Re: [Mono-aspnet-list] Web.config transformations

Part of my problem may be in my understanding of Web.config transformations
too. If MonoDevelop is in "debug" configuration for the project, does it not
first include Web.config, then apply Web.Debug.config, or is that
transformation only done by xsp/mod_mono when a site is deployed? i.e. are
transformations applied when merely writing code in MonoDevelop?

On Jun 22, 2011, at 2:50 PM, Christopher Thielen wrote:

> Hello,
> 
> I'm not sure if this is a Mono/MonoDevelop question or general ASP.NET
question, but either way, somebody here should know!
> 
> I'd like to use Web.config transformations to avoid storing sensitive data
in public repositories.
> 
> I have a standard Web.config:
https://github.com/cthielen/RightsManagement/blob/master/RightsManagement.UI
/Web.config - as you can see, I've left the connection strings empty.
> 
> and a Web.Debug.config, which I'm trying to use to test transformations:
https://github.com/cthielen/RightsManagement/blob/master/RightsManagement.UI
/Web.Debug.config
> 
> But they are not applying. I tried putting blatantly bad XML in
Web.Debug.config to see if it's being parsed, and no error is thrown.
> 
> Any ideas?
> 
> (Mono 2.10.1 on Mac (2.10.2 as a MySQL connector bug), MonoDevelop 2.6
beta 3)
> 
> Thanks,
> Christopher Thielen
> 

_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



More information about the Mono-aspnet-list mailing list