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 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]
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.