Referenced assembly ‘MWArray.dll’ targets a different processor

Category : Matlab Builder NE

Stumble with theis problem:

Possible problem detected while building assembly
‘MagicSquareVBApp’: Referenced assembly ‘MWArray.dll’
targets a different processor

Did a google search onĀ “Referenced assembly ‘MWArray.dll’ targets a different processor”

Here’s some of the results

http://www.experts-exchange.com/Programming/Languages/.NET/Visual_CSharp/Q_23357533.html

http://social.msdn.microsoft.com/Forums/en-US/netfx64bit/thread/4e892238-d5c4-4155-8ef7-ee1923ab4a21

I did some trial and error, and here’s the solution that I got. The problem rise because of the platform setting between your local machine i.e. cpu and visual studio conflict with each other. My local machine is x86 while VS is x64 by default.

So you need to change it at Build>Configuration Manager and at your project file, go to property and change it to the type your local machine is.

Post a comment