Solved

.Net Custom Controls warning message

Posted on 2013-11-27
2
390 Views
Last Modified: 2013-11-27
When I add a third party control to my C# form and it all has is the custom control. I get these 2 warning messages. I am still able to run and build the program.

Warning 1 Type universe cannot resolve assembly: licX, Version=1.1.979.16456, Culture=neutral, PublicKeyToken=b30bccce506e2a92.  0 0

Warning 2 The variable 'schedule1' is either undeclared or was never assigned. C:\Mainline\C# Examples\MultiTest\UserDrawnForm.cs 128 0
0
Comment
Question by:Idarac
2 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 500 total points
ID: 39681581
A lot of times custom controls require a license to be designed in Visual Studio.

They still run and build correctly, and will actually (usually) install ok, but it is disabled when you try to design it.  This is the way that the creators of custom controls keep you from abusing your number of licenses or try to limit piracy of their controls.

Chances are, you do not have the correct license installed (the error about the licX).  Either reinstall their package, or verify that you have the correct version installed.

A bad custom control could lead to the second message.  Sometimes they fail to correctly modify the designer.cs file properly when removing or editing them.  Or, this could be a result of the license failure in the first warning.

Hope this helps.
0
 
LVL 1

Author Closing Comment

by:Idarac
ID: 39681698
Yes that's it. I applied the licence and  there you go.

Thanx
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question