Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment by XCopy

Solved!
Go to solution
I have a PropertyEditor on my Form. When I deploy my Application by XCopy there is something missing, because the Editor f.e. for the ScaleArc of a Gauge isn't diplayed any more.
0 Kudos
Message 1 of 8
(5,262 Views)

Hello,

 

Have you carefully read through the  "Measurement Studio .NET XCOPY Deployment Files" topic in the Measurement Studio help?  This help topic describes exactly which files are necessary for XCOPY deployment.

 

Please let me know if you have any further questions

 

NickB

National Instruments 

0 Kudos
Message 2 of 8
(5,258 Views)

Hello

 

yes I read carefully the description. I have copied the following files in the exe directory

 

NationalInstruments.UI.WindowsForms.dll
NationalInstruments.UI.dll
NationalInstruments.UI.Styles3D.dll
NationalInstruments.Common.dll
NationalInstruments.Common.Native.dll
mesa.dll
msvcp80.dll
msvcr80.dll
msvcrt.dll

 

I think that is all. But nothing happend

 

Best regards

 

Gerald

0 Kudos
Message 3 of 8
(5,254 Views)

Try copying mesa.dll into the <System32> directory. Also, you might consider creating a setup project instead which will automatically pull in all the necessary MSMs for you and install the contents into the correct location. This allows you not to worry about where the DLLs go.

 

Best Regards,

Message Edited by Jonathan N on 06-16-2009 09:49 AM
Jonathan N.
National Instruments
0 Kudos
Message 4 of 8
(5,251 Views)
Solution
Accepted by topic author GerryHappy

Hello Gerald,

 

Actually, upon closer examination, there is a bit of a hole in our XCOPY documentation, specifically for the property editor.  You will need to also deploy the NationalInstruments.UI.Design assembly, which is located only in the GAC.  One way to get the Design assembly from the GAC is just to browse to it from the command line (c:\windows\assembly\GAC_32\NationalInstruments.UI.Design\<version>), and use the copy command to copy it out locally.  Make sure the versions of NationalInstruments.UI and NationalInstruments.UI.Design match.

 

I have filed a bug report for this issue with ID 174690.

 

Please let me know if you have any trouble with this, or if it fails to solve your issue.

 

NickB

National Instruments 

0 Kudos
Message 5 of 8
(5,244 Views)

Hallo nickb

 

thank you for your fast answer it works fine.

 

Best regards

 

Gerald

 

 

0 Kudos
Message 6 of 8
(5,233 Views)

Hello,

 

now I have an other problem with the XCopy. The Rangefills dialog(gauge, meter) throws an null Pointer Exception when I use it in Runtimemode and the Pictures from Gauge- or MeterStyle are not available. I have additional added the National.Design.Resources.dll but it wasn't the solution.

 

I hope you can help me.

 

Best regards

 

Gerald 

0 Kudos
Message 7 of 8
(3,851 Views)

Hello

 

 

sorry it isn't a problem. I forgot a dll.

 

Gerald

0 Kudos
Message 8 of 8
(3,848 Views)