|
I've a problem using native Code in a XBAP-Application and running it on a 64-Bit-System... Due to the use of native code in C#, I set the Target Platform of these assemblies to x86. Using a WPF-Application (which also is targeted for x86) runs very fine on a 64-Bit-System. Nevertheless, I also want to use a XBAP-Application to run the same application in the browser. Using x86 here doesn't work: "Cannot build a platform-specific XAML Browser Application. If HostInBrowser property is set to 'True', either do not set the PlatformTarget property or set it to 'AnyCpu'." So I tried to use "Any CPU" and then this Warning came up: "Referenced assembly targets a different processor than the application." Usually I treat warnings as errors and as a result I can't build this... So here my question: Is there any way to solve this problem without getting errors / warnings? If yes: plz let me know! If no: can this warning make problems at all?! Can it be ignored? Or is there any other way to run a .Net-Application with dependencies to native code on 64bit? thx in advance! - Edited byDSchiefer Tuesday, August 18, 2009 7:35 AM
-
|