Click here to Skip to main content
16,008,719 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi!

I am creating setup file for the first time and getting this error :

"File 'log4net.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'"
We have used :
Visual Studio 2010 Ultimate
Crystal Report Runtime 64-bit


Please help!
Posted
Comments
RedDk 11-Jul-13 17:57pm    
See here:

http://originaldll.com/file/log4net.dll/18764.html
[no name] 12-Jul-13 6:38am    
it means the dll file is X64 while you are trying to build the application in X86 family, you need to either change the target platform to X64 or find the X86 version of dll file :D
ZurdoDev 12-Jul-13 12:43pm    
Please post as solution.
[no name] 12-Jul-13 15:12pm    
so what's the difference?! I hope you could solve the issue.
ZurdoDev 12-Jul-13 15:17pm    
What? I believe you answered the OP's question so I suggested you post it as the solution so this does not show up under Unanswered anymore.

change compiler to 64-bit will help you. that's what i did and working fine. its a crystal upgrade issue in VS2010.
 
Share this answer
 
Try building the Installer project for x64 platform.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900