From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-09-2016 03:41 PM
Hi,
now it is strange.. I have made a WIX setup file which seems to work OK in the most cases. But in one customer computer (Win2012R2) the new NationalInstruments.Commnon is not installed into GAC. There is an older version from a previous setup file.
the installation project is using MStudioCommon.2012_x64.msm merge module.
Can there be any reason why the NationalInstruments.Common assembly is not installed correctly just in one computer? I have all newest NI sw in my development machine.
BR,
Ilkka
Solved! Go to Solution.
03-10-2016 05:56 AM
Hi again,
The problem is not exactly as described before.
The setup file install NationalInstrument.Common.dll of version 15.1.40.. but some NI UI component wants an older ver. 15.0.40..
I made a quick fix so that the older version is installed into Program Files folder. Now there is a new and old common.dll in the same computer.
Here is the error before the fix:
and here after "fix". The old common is loaded from Program Files folder:
Please note if I run the same sw in my development computer only the newest common.dll is loaded from GAC. But when the sw in installed into clean customer's PC it is needed the older common.dll..
03-10-2016 06:59 AM
Hi,
what versions of Measurement Studio and Visual Studio do you use currently?
Best regards,
Melanie
03-10-2016 07:05 AM
03-10-2016 07:15 AM
Hi,
thank you for the versions.
The behavior you describe is related to a reported issue in Measurement Studio 2015.
Best regards,
Melanie
03-10-2016 07:39 AM
Hi Melanie,
Thanks for the information.
Is my current action correct that the NationalInstruments.Common.dll is added into program Files folder separately? Or is there coming some fix in the near future from NI? I must inform our customer.
For the customer it is not imprtant if there is one extra NI assemnbly in his computers.
BR,
Ilkka
03-10-2016 07:49 AM
Hi Ilkka,
thank you for your reply.
Unfortunatly I have no information about in which version there will be a fix.
The tracking number of the issue is 508026. When this number is mentioned in the release notes, the version fixes the issue.
Best regards,
Melanie
03-10-2016 08:01 AM
Hi Melanie,
But thet the first question 😉
Is it a good fix if we add the older Common.dll into Program Files folder? Our software seems to work in that way in the clean computers..
The MStudioCommon.2012_x64.msm merge module installs the new Common.dll into GAC and a separate WiX File entry puts the old Common.dll assembly into same place where is our application software.
We delivering the application software continuously to our customers and cannot stop the deliveries..
BR,
Ilkka
03-10-2016 08:05 AM
Hi Ilkka,
I'm sorry, I missed your first question.
Yes, of course you can use that workaround. I thinks that's the simplest way to avoid the issue.
Best regards,
Melanie
03-20-2018 03:41 PM
Hi,
I am trying to run a project in Visual Studio 2013 that references NationalInstruments.Common as well as
NationalInstruments.DAQmx
NationalInstruments.UI
NationalInstruments.UI.WindowsForms
and none of these reference files are able to be located. My target framework is .NET 3.5 and the error message reads;
Warning 1 Could not resolve this reference. Could not locate the assembly "NationalInstruments.Common, Version=8.9.35.156, Culture=neutral, PublicKeyToken=18cbae0f9955702a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
I have tried to add the reference by browsing for it but it is nowhere to be found. Where can I download the correct reference files so I can use this project code?
thanks,