Measurement Studio for .NET Languages

Showing results for 
Search instead for 
Did you mean: 
Reply

could not load file or assembly 'NationalInstruments.UI.Styles3D.dll'

Solved!
Go to Solution

could not load file or assembly 'NationalInstruments.UI.Styles3D.dll'

Hi,

I am getting the following error:

Could not load file or assemble 'NationalInstruments.UI.Styles3D.dll' or one of its dependencies.

In my development machine, programs runs ok. W&, VS2010 and MS 2010.

I get the error in the target machine, WXP, service pack 2.

The foilder containing the executable has the following files:

NationalInstruments.Common.dll (version 9.0.40.362)

NationalInstruments.UI.dll (version 9.0.40.292)

NationalInstruments.UI.Design.dll (version 9.0.40.292)

NationalInstruments.UI.Styles3D.dll (version 9.0.40.292)

NationalInstruments.UI.WindowsFroms.dll (version 9.0.40.292)

NationalInstruments.VisaNS.dll (version 9.0.40.156)

 

The programs was running ok, I just added a new label to the application, installed it again and then the error comes.


PLEASE HELP


Regards,

Alberto J.

0 Kudos
Message 1 of 4 (2,488 Views)
Reply
0 Kudos

Re: could not load file or assembly 'NationalInstruments.UI.Styles3D.dll'

Hi AlbertJ,

 

Did you include the DLLs that are in the programs folder with the original installer, or did you just copy them over?  If you included them, did you include them individually or did you use the merge modules?

 

I would try adding the appropriate merge modules to the installer, re-install, and see if you still get the error.  There is a Measurement Studio help topic called Measurement Studio .NET Merge Modules that can help you determine which merge modules you need to add.  There is also a Measurement Studio help topic called How to: Add Merge Modules to a Deployment Project if you need help adding them.

 

Let me know what you find.

 

Regards,

 

Brandon V.

Applications Engineering

National Instruments

www.ni.com/support

0 Kudos
Message 2 of 4 (2,475 Views)
Reply
0 Kudos
Solution
Accepted by topic author AlbertJ
‎08-27-2015 06:09 PM

Re: could not load file or assembly 'NationalInstruments.UI.Styles3D.dll'

I ran into the same issue and discovered that the NationalInstruments.UI.Styles3D.dll depends on the Visual C++ 2010 Runtime which is installed with Visual Studio.  You can download the runtime redistributable installer to deploy on the target machines.  It is available here: http://www.microsoft.com/download/en/details.aspx?id=5555

Message 3 of 4 (2,318 Views)

Re: could not load file or assembly 'NationalInstruments.UI.Styles3D.dll'

Thank you very much JPoore for this information

0 Kudos
Message 4 of 4 (892 Views)
Reply
0 Kudos