针对'AMD64'的文件'log4net.dll'与项目的目标平台'x86'不兼容 [英] File 'log4net.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'

查看:403
本文介绍了针对'AMD64'的文件'log4net.dll'与项目的目标平台'x86'不兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!



美好的一天,



我正在用VB工作.NET 2010 Windows窗体桌面应用程序。

一切都很好但是当我要创建一个安装项目来为它安装软件包时出现问题,

when我开始构建安装项目它给出了以下错误....



文件 '  log4net.dll'定位'  AMD64 '  与项目不兼容' 目标平台' x86 '   





有人能算出来吗?



谢谢!



最好的问候:

Muhammad Asim Mughal。

解决方案

您是否将安装项目设置/标记为64位安装程序?您是否部署了64位版本的log4net?


Hello!

Good Day to All,

I am working on a project in VB.NET 2010 Windows Form Desktop application.
Everything is fine but when i am going to make a Setup project to make the installation package for it there is a problem,
when i start Build the setup project it gives the following error....

File 'log4net.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'



can anyone figure it out ?

Thanks !

Best Regards:
Muhammad Asim Mughal.

解决方案

Did you set/mark your Setup project as a 64 bit installer? Are you deploying the 64 bit version of log4net?


这篇关于针对'AMD64'的文件'log4net.dll'与项目的目标平台'x86'不兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆