Home : Warning:Referenced assembly targets a different processor
Q10158 - INFO: Warning:Referenced assembly targets a different processor

When compiling a project in .NET 2.0, you may receive an error message similar to the folowing:

Warning 2 Assembly generation -- Referenced assembly 'Atalasoft.dotImage.dll' targets a different processor

The reason for this error is the Atalasoft DLLs are compiled either to the processor 'x86', which is for 32 bit only, OR to the processor 'x64' which is 64 bit only. To put it another way, our components "have bitness", so in order to run properly, your project needs to have a platform target of either x86 or x64, and the Atalasoft dlls being referenced need to match.  You can not target 'AnyCPU'.

To resolve this problem, please change your project's target platform to 'x86' and use our x86 dlls (or, if you are explicitly targeting x64, set your platform target to 'x64' and ensure that ALL Atalasoft dlls referenced are x64 versions).

For more information, please see:

Q10165 - FAQ: Cause of System.BadImageFormatException

Q10149 - INFO: Compiling with DotImage on a 64-bit system

Q10406 - FIX: Drag-Drop of Some Atalasoft Viewers Not Adding Control to Designer

Q10341 - INFO: Workaround for a license compiler exception on 64-bit systems with VS2010 .Net 4.0

Q10288 - INFO: Workaround for a license compiler exception on 64-bit systems with VS2008/VS2010 .Net 2.0

 

 

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.

Powered By InstantKB.NET v1.3
Copyright © 2002, 2017. InstantASP Ltd. All Rights Reserved