Re: Multiple Embedded Files with Microsoft.CSharp.Compiler

From: Grant Richins [MS] (grantri_at_online.microsoft.com)
Date: 04/06/04


Date: Tue, 6 Apr 2004 14:47:28 -0700

There's no way to do this. We are also working to deprecate this class and
namespace in favor of the CodeDom, which does allow what you want.

-- 
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
"Damien DORISON" <dd_le_postier@yahoo.fr> wrote in message
news:79d25bcb.0403310632.5a4b3715@posting.google.com...
> Hi,
>
> I need to build a win application that will compile a kind of project
> that contains .cs files and .bmp files. For this i use
> Microsoft.CSharp.Compiler, it's Compile method handles mutliple
> sources files, this is ok.
> Now, i need to include several bmp files as embedded resources (i will
> later use them by calling Assembly.GetManifestResourceStream()). To do
> this i can specify on single bmp file by adding a DitionaryEntry
> ("res", "FileNameToInclude,NameOfTheResourceToRetrive") in the options
> IDisctionay. This works fine for a single file.
> Unfortunaltly i cannot add another file that way because Key must be
> unical in IDictonary entries, and i canno't find any way to specify
> multiple files to include with one signe "res" DitionaryEntry.
>
> Anyone has an idea about this ?
>
> Regards,
>
> Damien DORISON


Relevant Pages

  • Multiple Embedded Files with Microsoft.CSharp.Compiler
    ... I need to build a win application that will compile a kind of project ... i need to include several bmp files as embedded resources (i will ... this i can specify on single bmp file by adding a DitionaryEntry ...
    (microsoft.public.dotnet.languages.csharp)
  • Animated GIF - frame delay
    ... it captures screen on specified intervals, ... saves result to bmp files ... Is there a way to specify a delay time for particular frames - say capture ...
    (microsoft.public.dotnet.framework.drawing)