Compilation

Hi,

Can I compile .NET 2.0 code on CompactFramework at runtime If not, maybe there is solution to compile this same code dynamically on PC side and transfer this code (in dll) to PocketPC

Kind regards

Mateusz Kierepka




Answer this question

Compilation

  • Larrybird02744

    Ok - can you send me more information how to compile code on serwer side I search over internet but I can't find any good sample...

  • [MSP]Daniel Oliveira

    you'd want to use something like Process.Start on the server to call out to csc.exe (or whichever compiler matches the language you're compiling) with the command line arguments for source and target, and then move the completed target assembly after the process finishes.
  • Godspeed 2.0

    you cannot do this on the device. You may be able to write a web service that the device connects to and downloads code from. There are many different ways to solve this problem.

  • mom2blondies

    So - do you have any example how to compile CF code on server side

  • Compilation