[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] Re: embedding a binary resource?
From: |
Mike Voytovich |
Subject: |
[Pnet-developers] Re: embedding a binary resource? |
Date: |
Wed, 20 Jul 2005 15:48:24 -0700 |
Oops,
Russell Stuart kindly pointed out that "-fresources" does indeed allow
arbitrary binaries to be embedded into the assembly.
Is there any way to rename the resource - i.e., give it a name other
than the file's original name (such as can be done with the optional
ID field using -resource:RESOURCE[,ID] with Mono mcs) ?
thanks,
-mike
On 7/20/05, Mike Voytovich <address@hidden> wrote:
> Hi,
>
> Is there a way to embed a binary resource using the cscc compiler?
> For example, the Mono compiler, mcs, has a "-resource" option; I was
> wondering if cscc has a similar command line option. I would like to
> embed a .png file into my assembly.
>
> The only thing I can find with DotGNU is the "resgen" tool and the
> "-fresources" option to cscc, which doesn't appear to support
> embedding arbitrary binary resources such as .png's.
>
>
> thanks,
> -mike
>