D
Damien DORISON
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
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