Re: Packing a C# project.
"Neil Munro" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
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? 2008/6/4 Jan Niklas Hasse <[email protected]>: > On Wed, Jun 4, 2008 at 6:15 PM, Neil Munro <[email protected]> wrote: > > Now my problem is integrating this code into my project, I do not know > where > > I should place the files/code and simply adding the files results in a > 'two > > entry points' error in the C# compiler. I have the binreloc C# project > file > > I believe. I just don't know how to integrate it. > > I don't know anything about C#, but I put files in my project folder like > this: > > share/<pojectname>/ > -> data files > src/ > -> src files > bin/ > -> binary file > share/icons > -> icon > > When I'm loading a file I do it like this: > > load_picture(PREFIX + "share/<projectname>/asd.png") # python > > Should look like this in C# (see > http://trac.autopackage.org/browser/binreloc/trunk/mono/Readme.txt ): > > Image myImage = new Bitmap(Path.Combine (BinReloc.DataDir, "myImage.png")); > > --------------------------------------------------------------------- > To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] > For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected] > >