[MonoDevelop] app.config
Don Lavelle
don.lavelle.bulk at gmail.com
Tue Jan 10 20:59:13 EST 2012
Hi Nicolas,
This was a classic EBKAC. I'm using Spring.NET, configured through app.config, and I starting playing with my app.config properties, not realizing that app.config was correct the whole time and I wasn't setting up Spring.NET correctly.
Cheers!
Don
On Jan 6, 2012, at 10:32 AM, Nicolas Krzywinski wrote:
> Hi Don,
>
> what do you mean with "process" the config file?
>
> I am still on MD 2.6 so behaviour may be different, but my app.config is
> attributed as "always copy" (I am not sure but I think I had to adjust
> this after creating the file).
> The result is a my-exe-name.exe.config file which is placed to the
> bin/whatever directory after compile.
> Then this file's parameters can be accessed via
> System.Configuration.ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)
> as usual.
>
> Good luck,
> Nicolas
>
> Am 06.01.2012, 02:17 Uhr, schrieb Don Lavelle <don.lavelle.bulk at gmail.com>:
>
>> Hi all,
>>
>> I'm using MonoDevelop 2.8.5 and Mono 2.10.8 on Mac OS 10.6.8, and I'm
>> trying to build an executable project to which I've added an App.config
>> file. I saw this discussion from November 2010
>> (http://mono.1490590.n4.nabble.com/App-config-Gotcha-td3021763.html),
>> but I wasn't able to figure out based on that what I should do to get
>> mono to process the configuration file.
>>
>> Mono's very cool. I use C# and .NET at work, and it's pretty cool that
>> I can use it at home without being tied to the Microsoft technology
>> stack.
>>
>> Thanks,
>>
>> Don
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
>
>
> --
> www.site7even.de | www.nskcomputing.de
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
More information about the Monodevelop-list
mailing list