CodeDomProvider Compile For .Net CE RRS feed

  • Question

  • We use the CSharpCodeProvider and VBCodeProvider classes to compile our .Net assemblies dynamically. Now, I need to output DLLs for the latest version of .Net CE. What compiler parameters or options do I need to use to output to .Net CE?

    Monday, February 21, 2011 11:29 PM



    In .NET Framework, the CSharpCodeProvider class (and other related classes) located in System.dll, for the compact version of System.dll (located at "C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\") does not have a definition of CSharpCodeProvider class, so it sounds to me CodeDom is currently not supported in .NET CF, however, you can go to .NET Compact Framework forum for a more clear answer.

    Eric Yang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, February 22, 2011 3:47 AM