Re: Packing a C# project.
"Neil Munro" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
Okies changed it to work like that. It still is just the directory structure I'm not quite getting. 2008/6/4 Isak Savo <[email protected]>: > On Wed, Jun 4, 2008 at 7:00 PM, Neil Munro <[email protected]> wrote: > > 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. > > No, you don't need to change the namespace. Just as you don't change > namespace for all the other system functions you use. > > Just do > using Autopackage; > at the top of each .cs-file using binreloc, or write the full name in the > code: > string dir = Autopackage.Binreloc.DataDir; > > > 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"); > > No need to create anything. The binreloc class members are static - > just call them like any other function. > > -Isak > > --------------------------------------------------------------------- > To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] > For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected] > >