Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Class Library or one of its dependencies is missing....

I have installed Measurement Studio 2010SP1 for Visual Studio 2008. I'm running Windows 7.

 

Everything seemed to go fine with the install and VS2008 starts fine and I can load sample programs fine. The problems arise when I try to start a new C# project. At the point where I select the class libraries to include in the project I get the following error "This class library or one of its dependencies is missing its underlying software and cannot be added to the project". The project gets setup after I close the error dialog. I assume the project isn't complete because of the error but I don't don't really know.

 

I'm a newbie to Measurment Studio so any help would be appreciated.

0 Kudos
Message 1 of 7
(5,728 Views)

Hey mittleiderj,

 

Which libraries are you including when you get the error? Would it be possible to include a screenshot of how you're setting things up and the error message?

0 Kudos
Message 2 of 7
(5,720 Views)

Here is the screen and the error I get. All of the libraries listed are grayed out so I assume they aren't installed but I'm not finding where to install them.

 

 

 

ClassError.jpg

0 Kudos
Message 3 of 7
(5,714 Views)

Hi mittleiderj,

 

This error may be due to a missing or out-of-place .msl file. To locate these .msl files, look in the 
"C:\Program Files (x86)\National Instruments\MeasurementStudioVS2008\DotNET\Assemblies\Current" directory, and ensure that there is a .msl matching each of the .dll names. For example, NationalInstruments.Analysis.Standard.dll and NationalInstruments.Analysis.Standard.msl.

 

If any of the .msl files are missing or misplaced, it could cause this error. Once we are able to confirm which file is missing, it can be replaced. 

0 Kudos
Message 4 of 7
(5,704 Views)

Courtney,

 

Thanks for your response.

 

I've been working with NI Tech Support as well asking for help here. They had me list all the files in the current folder. All of the DLL's have corresponding MSL and XML except for one called NationalInstruments.UI.Styles3D.dll.

 

I've been wondering about the 32-bit versus 64-bit. The files are located in the Program Files (x86) folder but I think I'm running 32 bit versions of  everything (or I think that's what I installed). There is nothing in the "current" folder in the Program Files side of things. Should there be? nd if there should be how do I get them in there?

0 Kudos
Message 5 of 7
(5,702 Views)

Hey mittleiderj,

 

That is the expected location (x86 is probably referring to your 32 bit sysem folder, and since you mentioned you're using 32 bit versions everything matches up). You could try performing a forced reinstall to overwrite all of the install locations to see if the problem is resolved. 

 

Let me know how that goes mittleiderj!

0 Kudos
Message 6 of 7
(5,696 Views)

I tried using the forced install (setup /reinstall) from a command window. I got a message, "This software suite installer invokes multiple software installers." I followed the commands given and it seemed to install without issue (no messages). However I still have the same problem. Is there a different installer I should be using?

0 Kudos
Message 7 of 7
(5,690 Views)