Building assemblies for Compact Framework

J

Jose Antonio

Hi,

is it possible to create dinamically an .NET Compact
Framework assembly with System.Reflection.Emit (using the
full .NET Framework)?


Thanks in advance.

José Antonio.
 
G

Ginny Caughey [MVP]

José,

I assume you want to generate .Net CF code on the fly from a desktop app? I
don't think this will work.
--
Ginny Caughey
..Net Compact Framework MVP

Hi,

is it possible to create dinamically an .NET Compact
Framework assembly with System.Reflection.Emit (using the
full .NET Framework)?


Thanks in advance.

José Antonio.
 
J

Jose Antonio

Hi Ginny,

Yes, I would like to create an app running on a PC which
reads an XML file and then builds an assembly with some
constants whose values are on the XML file. The assembly
would then be added to a smart device project.

I don´t know much about assemblies, but I understood in
some articles that it could be possible to build cross-
framework assemblies by setting the Retargetable attribute.

Thanks for your answer.

Jose Antonio
 
G

Ginny Caughey [MVP]

Jose,

Yes resetting the Retargetable attribute would probably be the key (as well
as being careful to use platform-neutral parts of .Net). I haven't done it
myself, but if you get it working, be sure to let us all know any tips you
discover.
--
Ginny Caughey
..Net Compact Framework MVP

Hi Ginny,

Yes, I would like to create an app running on a PC which
reads an XML file and then builds an assembly with some
constants whose values are on the XML file. The assembly
would then be added to a smart device project.

I don´t know much about assemblies, but I understood in
some articles that it could be possible to build cross-
framework assemblies by setting the Retargetable attribute.

Thanks for your answer.

Jose Antonio
 
J

Jose Antonio

Hi Ginny,

Of course, I will keep you up on my progresses.

Thanks for your answer.

Jose Antonio.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top