Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy user controls containing licensed components?

In our product, there exist some custom controls incorporating licensed components from NationalInstruments.UI.WindowsForms. Users of the product may use these custom controls to design customized Windows Forms Applications.

 

This used to work fine in older versions of Measurement Studio.

 

But with Measurement Studio 2010, the described ability seems to work only when Measurement Studio is also installed and licensed on the customer machines. The following exemplary reproduction demonstrates what happens.

 

Reproduction

On a computer with Measurement Studio 2010 Standard installed:

  1. Start Visual Studio 2008
  2. Create a new Class Library
  3. Create a new User Control
  4. Add a Led in the designer
  5. Compile the project
  6. Deploy the library according to the help topic "Measurement Studio .NET XCOPY Deployment Files"

On another computer without Measurement Studio:

  1. Get the deployed library
  2. Start Visual C# 2008 Express
  3. Create a new Windows Forms Application
  4. Open the Form in design mode
  5. Add the deployed User Control to the toolbox items
  6. Drag a new User Control into the form
  7. I see the following message popping up:

Error Message

 

 

The control is not actually added as a consequence.

As mentioned, this issue didn't occur in previous versions. (However,  I directly upgraded from version 8.5 to 9.0)

 

Am I missing some licensing detail or making a mistake during deployment/redistribution?

Some guidance or clarification would be greatly appreciated.

Christian
0 Kudos
Message 1 of 14
(4,775 Views)

Hello Christian -

 

From the stack frame in the screenshot, it appears that you are creating controls under a design time context - ie, your application is creating a designer that the controls are being created on.  If this is the case, This is currently a know issue that the Measurement Studio team is working on finding a solution for.  I have sent you a private message to discuss this issue further.

 

I'm sorry for the inconvenience -

 

NickB

National Instruments

0 Kudos
Message 2 of 14
(4,758 Views)

Hallo NickB

 

i have the same Problem. Can you send me an answer when the Problem is fixed?

 

Best regards

 

Gerald

0 Kudos
Message 3 of 14
(4,733 Views)

Hello Gerald -

 

I've sent you a private message regarding this issue.


NickB

National Instruments

0 Kudos
Message 4 of 14
(4,723 Views)

Hello NickB

 

I also have the same problem. Can you give me a message too.

 

Thanks

 

Zhou

0 Kudos
Message 5 of 14
(4,599 Views)

Zhou,

 

I sent you a private message regarding this.

National Instruments
0 Kudos
Message 6 of 14
(4,587 Views)

Hello DBiel,

 

i have the same problem. Can you please send me this message too?

 

Best regards

 

Gerald

 

Sorry i thought you have a solution for the problem....

 

Best regards

 

Gerlad

0 Kudos
Message 7 of 14
(4,583 Views)

Hello NickB

 

I'm resolving the same issue too.

 

Can you give me also an information as above, please?

 

Thanks

mrvator

0 Kudos
Message 8 of 14
(4,450 Views)

mrvator,

 

I sent you a private message through the forums regarding this issue.

National Instruments
0 Kudos
Message 9 of 14
(4,444 Views)

I am seeing this issue in MS2012

 

May I have the information regarding resolution of this issue as well?

 

Thanks, Michael

0 Kudos
Message 10 of 14
(4,226 Views)