Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

targeting amd64 is not compatible with the project's target platform x86 c#

Tags:

c#

I'm working on a .NET application (C#) using VS 2013 in 64-bits plat-form.
When I deploy it I got this message.

targeting amd64 is not compatible with the project's target platform x86 setup project

Building not success

The problem comes from CrystalReport I think. Maybe I'll need a dll file target X86. What shall I need to do ?

like image 384
amine mossaddek Avatar asked Sep 17 '25 09:09

amine mossaddek


1 Answers

Had a frustrating hour getting the same error message when Visual Studio was trying to build an installer, but it was targeting a different dll.

The solution was to just close and open Visual Studio.

like image 50
Alexander Townsend Avatar answered Sep 19 '25 06:09

Alexander Townsend