Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Porting c# Application from XP to Windows 7

I am porting an application from Windows XP to Windows 7 that uses a NI USB-6501 and a Ni USB-6008. On the Windows 7 machine,  I am able to toggle bits on the 6501 from the Measurement & Automation Eplorere but when try to toggle them from within my c# 2008 application I get this error message "A procedure imported by 'NationalInstruments.DAQmx, Version=9.3.35.219, Culture=neutral, PublicKeyToken=18cbae0f9955702a' could not be loaded.":"NationalInstruments.DAQmx, Version=9.3.35.219, Culture=neutral, PublicKeyToken=18cbae0f9955702a".  Any suggstions?

0 Kudos
Message 1 of 2
(5,437 Views)

Hi,

 

I had a similar issue going to Windows 7.

 

Make sure youtr references to MS libraries are set to Copy Local.

Also, the Widnows 7 build didn't copy the NationalInstruments.UI.Styles3D.dll to the Release folder.

I had to set a specific reference to that library in 7 that I didn't have to do in XP.

 

Hope this  helps

 

Curt

0 Kudos
Message 2 of 2
(5,425 Views)