Solved

.Net Custom Controls warning message

Posted on 2013-11-27
2
394 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 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