Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

current version of an assembly

When I build a deployable project I get the following warnings

"------ Starting pre-build validation for project 'NMR Lab' ------
WARNING: Unable to find dependency 'NATIONALINSTRUMENTS.COMMON' (Signature='4544464CDEAAB541' Version='7.0.0.341') of assembly 'NationalInstruments.UI.dll'
WARNING: Unable to find dependency 'NATIONALINSTRUMENTS.COMMON' (Signature='4544464CDEAAB541' Version='7.0.0.341') of assembly 'NationalInstruments.NI4882.dll'
WARNING: Unable to find dependency 'NATIONALINSTRUMENTS.COMMON' (Signature='4544464CDEAAB541' Version='7.0.0.341') of assembly 'NationalInstruments.UI.WindowsForms.dll'"


The current version of NATIONALINSTRUMENTS.COMMON in my MS7.0 folder is 7.1.0.243. Is this correct or should I reinstall
the drivers. Thanks

JMD
0 Kudos
Message 1 of 6
(4,877 Views)
Hello

That sounds like you have the newest version of the common dll but somehow your msm for the common dll did not get updated. Are you using merge modules for your deployment application or are you manually adding common as one of the deployment files?
Normally the installer updates the msm (under C:\Program Files\Common Files\Merge Modules called MStudioCommon.msm) whenever any updates are made to the common dll. Somehow in your case, the msms might not have been updated.

Which drivers and versions of drivers do you currently have installed on your machine? That might give me some more insight on the problem. Did this particular problem appear after you installed a particular driver?

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 6
(4,877 Views)
I'm using DAQmx 7.3 and GPIB 2.2. I have to add dll's to the project manually. For some reason the build can't import/add the Merge Modules. Adding the dll's is the only way I've been able to make deployable apps. I've just started making deployable apps. so I'm not sure if this has showed up after a particular driver.

JMD
0 Kudos
Message 3 of 6
(4,877 Views)
Try replacing your existing MStudioCommon.msm with the one attached here. You can find it in the folder C:\Program Files\Common Files\Merge Modules. Then try adding the msm to the deployment project and see if that fixes things.

Bilal
Bilal Durrani
NI
0 Kudos
Message 4 of 6
(4,877 Views)
When I add this msm to the project and build I get a

"C:\Documents and Settings\rems\Desktop\Resistance\Resistance_442\Resistance_442\Resistance\Resistance.vdproj Unable to import merge module 'MStudioCommon'." error

I get this error for all Merge module files, so I just add .dll to the project and exclude the msm files.

JMD
0 Kudos
Message 5 of 6
(4,877 Views)
Try repairing the Visual Studio .NET installation. You will need the msm to resolve the fact that you have a newer version of common on your system than the one installed by Measurement Studio and the msm resolves this for you.
Repairing Visual Studio should correct the merge module errors.

Hope this helps

Bilal
Bilal Durrani
NI
0 Kudos
Message 6 of 6
(4,877 Views)