Hello,

I have just looked into the <mkbundle/> task and realized that assembly
config files are treated differently.

When generating the native executable, the assembly config files are
embedded. This is what happened with the System.Drawing assembly (Excerpt
from the NAnt output) :

            [mkbundle]   Embedding /Library/Frameworks/Mono.
framework/Versions/1.9/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/
*System.Drawing.dll*
            [mkbundle]   Embedding
/Library/Frameworks/Mono.framework/Versions/1.9/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/
*System.Drawing.dll.config*

Can you check the output of your NAnt build file to check that your config
file appear in the list ? In this case, you don't need to copy it elsewhere.
Regards, Laurent Etiemble.


2008/8/1 Jérôme Gagnon-Voyer <[EMAIL PROTECTED]>

> When I compile my application with a normal "nant" command, and I put my
> application config file (Application.exe.config) into the Resources folder,
> it works well.
> But if I use "nant native", I can't find a way to load my .config file. It
> just doesn't load. What would be the name to use? In what directory?
>
> Thanks a lot.
>
>
>
> Jérôme
>
> [EMAIL PROTECTED]
>
>
>
>
>
>

Reply via email to