Solved

.Net Custom Controls warning message

Posted on 2013-11-27
2
377 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
Comment Utility
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
Comment Utility
Yes that's it. I applied the licence and  there you go.

Thanx
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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

12 Experts available now in Live!

Get 1:1 Help Now