locked
Possibility of combining x86, x64, arm for dll+winmd?

    Question

  • I am using external libraries those sources can not be directly added to my main project. Can we combine different dll+winmd made for different architectures (x86,x64,arm) ?


    Tuesday, April 17, 2012 11:29 AM

Answers

  • AnyCPU doesn't compile to object code until the module is actually run, at which time it can compile to whichever architecture is appropriate for the current machine. This only works if the entire package is AnyCPU: if you have components which are architecture specific then you would need to provide separate packages for different architectures.

    --Rob

    • Marked as answer by ELRaymod Wednesday, April 18, 2012 6:19 AM
    Tuesday, April 17, 2012 11:08 PM
    Owner

All replies

  • No. Everything gets loaded into the same process and so must have the same architecture.

    --Rob

    Tuesday, April 17, 2012 8:46 PM
    Owner
  • Thank you, so how does the "Any Cpu" compile work?

    I mean, how can we put a package to Store that Works on ARM + x86 + x64?

    Tuesday, April 17, 2012 8:50 PM
  • AnyCPU doesn't compile to object code until the module is actually run, at which time it can compile to whichever architecture is appropriate for the current machine. This only works if the entire package is AnyCPU: if you have components which are architecture specific then you would need to provide separate packages for different architectures.

    --Rob

    • Marked as answer by ELRaymod Wednesday, April 18, 2012 6:19 AM
    Tuesday, April 17, 2012 11:08 PM
    Owner