[Mono-devel-list] Guidelines: Application Deployment; Feedback requested.

Dan Winship danw at novell.com
Mon Jun 27 10:18:52 EDT 2005


On Sun, 2005-06-26 at 15:30 -0400, Miguel de Icaza wrote:
> 	http://mono-project.com/Guidelines:Application_Deployment

> Typically all these files have been scattered in multiple locations
> relative to the prefix. Although this has been historically encouraged
> on Unix systems (in particular for system tools) this recommendation
> is problematic for systems where the software must be easily
> relocated.

Should recommend using resources instead of files for more of those
things.

> If your application also contains shared libraries that you are going
> to P/Invoke from DllImport, you might want to add to the above script
> the following two lines:
>
>  export DYLD_LIBRARY_PATH=PREFIX/lib/APPLICATION:$DYLD_LIBRARY_PATH
>  export LD_LIBRARY_PATH=PREFIX/lib/APPLICATION:$LD_LIBRARY_PATH

Maybe it would be better to provide an argument to mono that says "add
the application directory to the shared library load path", so that if
any future mono port needs some different environment variable, it
doesn't require changing every existing wrapper script.

-- Dan





More information about the Mono-devel-list mailing list