Re: Packing a C# project.

"Neil Munro" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
I have gotten the function working using Path.Combine, like you suggested, I
have tested it, and it DOES work, so I'm one step further along. But I am
still not clear on directory structures. Can you explain it with an example?
I might understand it a bit more if it has context.

2008/6/4 Jan Niklas Hasse <[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.