Re: Packing a C# project.
"Neil Munro" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
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? 2008/6/4 Jan Niklas Hasse <[email protected]>: > > if ( !File.Exists( BinReloc.DataDir( "update.xml" ) ) ) > > If it compiles then good, but I think you need to do it like this: > > if ( !File.Exists( Path.Combine( BinReloc.DataDir, > "programname/update.xml" ) ) ) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] > For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected] > >