.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

WARNING: File '.dll' targeting 'x64' is not compatible with the project's target platform 'x86'.

Posted By: Narayanan     Posted Date: November 06, 2012    Points:5   Category :C#
Hi All,
Now, i am working windows Application Project.I also create a setup file for this Application.I am using Two Dll files.One dll file supports 32 bit another for 64 bit OS.I built my Project.The following warning message displays.So How can i solve this problem.
Warning Message:
WARNING: File '.dll' targeting 'x64' is not compatible with the project's target platform 'x86'.
I tried the following ways.No use.Please Help me.
VS : 2008
Way :1
Go to Configuration Manager.
Create a New Plat form X86
Clean Solution
Build Solution.
No Use
Way :2
Go to Configuration Manager.
Create a New Plat form X64
Clean Solution
Build Solution.
No use
and also i checked dll project Platform. It is an AnyCPU.
Way :3
Go to Configuration Manager.
Create a New Plat form AnyCPU.
Clean Solution
Build Solution.
No use.

how to avoid this error .Please tell me. and Application doesn't work 64 Bit OS.So Please why this error occur?


Responses

No response found. Be the first to respond this post
Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend