Adding /etc/mono/config.d

Alexander Larsson alexl at redhat.com
Thu Aug 24 07:35:54 UTC 2006


On Wed, 2006-08-23 at 17:46 -0400, Jesse Keating wrote:
> On Tuesday 22 August 2006 06:23, Alexander Larsson wrote:
> > Why do you need that. Why isn't it enough to put it in the .config file
> > for the dll?
> 
> I don't follow the question.
> 
> If you're suggesting that we add a line to the existing /etc/mono/config file, 
> not this won't work.  We don't want to munge existing (and possibly user 
> edited) config files.  That's WHY applications that have packages that add 
> bits to configuration create a config.d/ directory so that each application 
> can drop their config stub in there without overwriting any existing config 
> files.  This is the preferred method of appending configurations to a base 
> package.
> 
> If you're talking about something else, then I don't follow and need more 
> information.

Typically a mono .dll file has a companion .dll.configure file. Look at
for instance:
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll.config

This is used for the same purpose as /etc/mono/config, but only for that
particular dll.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a scarfaced native American filmmaker looking for 'the Big One.' She's a 
cosmopolitan belly-dancing widow in the wrong place at the wrong time. They 
fight crime! 




More information about the test mailing list