05-09-2019 02:46 AM
Hi, all
I have a valid copy of Measurement Studio 2012, and I had no problem in the deployment of the software that developed for my users. However, since the Measurement Studio 2015 came out, all in sudden that the deployment process complains that "missing valid Measurement.Common.dll". I tried many ways to avoid this problem, one of the methods is to ask user to install Measurement Studio 2015 Evaluation copy, and then install the package that I developed. It seemed working for some users but not for others (under the Windows 7). Please tell me how to get around this problem. Thank you in advance.
Solved! Go to Solution.
05-09-2019 03:22 AM
Sorry, the complain was "NationalInstruments.common.dll"...
05-10-2019 04:20 PM
Hi dffang,
It's not clear if the required assembly is missing from your development machine, or only from the deployment machines. If the DLL is missing in both places, please see this KB article that talks about the issue and how to resolve it.
If the DLL is missing only from the deployment machines, you may need to create an installer to package it for easy installation. Measurement Studio 2015 makes this easy with the included installer builder.
Can I Create an Installer for My Measurement Studio Program Using InstallShield?
Thanks,
05-12-2019 10:20 PM
Hi, Micheal
I think I have identified the problem. Somehow the app.config file in my application was altered. The relevant contents was:
<dependentAssembly>
<assemblyIdentity name="NationalInstruments.Common" publicKeyToken="DC6AD606294FC298" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-13.0.40.188" newVersion="15.0.40.14954"/>
</dependentAssembly>
I changed it back to: newVersion="13.0.40.188", and it worked.
Thank you for your advice.
Dufei