Re: Packing a C# project.
"Neil Munro" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
Ok, I have included the cs file with no problem and changed the namespace to
be my project, which I believe is required, but that is my somewhat limited
experience.
So every time I need to access a file regardless of what it is I create the
BinReloc object and call binreloc.DataDir("path/to/file");
right?
2008/6/4 Jan Niklas Hasse <[email protected]>:
> On Wed, Jun 4, 2008 at 6:34 PM, Neil Munro <[email protected]> wrote:
> > Looking at the new code, there's no Main( ) function, which was present
> in
> > the other one, I imagine, but am totally not sure here, that I could
> create
> > an autopackage class, dump that code in it, change the namespace to my
> > projects namespace and it would work?
>
> You only need to include the binreloc.cs file and then you can call
> the functions you need:
>
> BinReloc.DataDir gives you your data dir (../share from your binary in
> bin/).
>
> @Isak
> Isn't there a need for adding <programname> after DataDir?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
> For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
>
>