Home : Bitness (x86/x64) : 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:

Q10480 - INFO: Bitness Roundup Whitepaper: x86, x64, AnyCPU


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?


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, 2019. InstantASP Ltd. All Rights Reserved