Re: Packing a C# project.

"Jan Niklas Hasse" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Wed, Jun 4, 2008 at 7:25 PM, Neil Munro <[email protected]> wrote:
> No, it didn't compile, all my data files are stored in the /bin/debug
> directory, which is where the program runs from, so the files are relative
> anyway. But would you suggest me creating a new directory structure? with a
> directory data in which data files are stored?

You don't need to do that. You could just copy all files on
installation to $PREFIX/share/yourprogram and then write a simple
script for $PREFIX/bin that executes your binary.
The reason using BinReloc is to avoid absolute paths and relatives
paths which don't work, because the working directory differs from the
binary path. You actually don't have to use it for some programs (for
example games).
I hope it helps you a bit, but as I said, I don't know much about C#/Mono.

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.