AnsweredAssumed Answered

VB.NET x64: 'VisaComLib.dll' targets a different processor

Question asked by FetterDoubt on Nov 30, 2011
Latest reply on Dec 2, 2011 by FetterDoubt
I have successfully installed v16.1 of the I/O Libraries and via VB.NET and VS 2010 can talk to our 33522A. However, VS is consistently crashing when our application exits (or even sometimes when the project is loading). This only happens when I change the target configuration to x64 so we can build a native x64 exe. The following warning is displaye: "Possible problem detected while building assembly 'Polarimeter Image Sequencer': Referenced assembly 'VisaComLib.dll' targets a different processor"

I have added a reference to the VISA COM 3.0 Type Library however the file it loads is: C:\Program Files (x86)\IVI Foundation\VISA\VisaCom\Primary Interop Assemblies\Ivi.Visa.Interop.dll

Any ideas?  

Outcomes