Solved

.Net Custom Controls warning message

Posted on 2013-11-27
2
381 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
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.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now