x86 TargetPlatform with XBAPs
2015-12-30 09:15
656 查看
I've got a XAML Browser Hosted Application (XBAP) project that has a dependency on another project that is x86 only. All sorts of hell breaks loose at runtime (with respect to grabbing the DLLs) if I leave the target platform as "Any CPU". However, if I switch the XBAP project to target x86, I get the following compile time error:
Error 7 - 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'.
Is there a work around for this? Or am I going to have to figure out some horrific multi-process + IPC solution for this*?
If your dependent .dll don't have any links to win32 native dll's you could dissasemble it in Reflector and recompile it as Any CPU, or get an Any CPU version if possible. If it has win32 links, then I think you have to split it into multi procs as you suggest.
Error 7 - 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'.
Is there a work around for this? Or am I going to have to figure out some horrific multi-process + IPC solution for this*?
If your dependent .dll don't have any links to win32 native dll's you could dissasemble it in Reflector and recompile it as Any CPU, or get an Any CPU version if possible. If it has win32 links, then I think you have to split it into multi procs as you suggest.
相关文章推荐
- php获取当前页面完整URL地址
- PHP代码优化的40条建议
- STP PVST+
- php命令行查看已安装的模块的方式
- 编译php系统的一个小问题
- 使用PHP如何实现高效安全的ftp服务器(二)
- PHP汉字转换拼音的函数代码
- 如何写php守护进程(Daemon)
- 分享PHP守护进程类
- PHP使用strtotime获取上个月、下个月、本月的日期
- thinkPHP导出csv文件及用表格输出excel的方法
- 详解PHP中的null合并运算符
- thinkphp命名空间用法实例详解
- thinkphp多层MVC用法分析
- php 依赖注入
- 某些CTF密码算法的PHP解法
- 2. PHP-FIG
- php与Microsoft SQL Server
- win8X64下自行搭建PHP开发环境
- PHP通过邮件发送附件