For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > January 2006 > Problem with VS2003 and custom controls









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with VS2003 and custom controls
MikeR

2006-01-17, 8:01 am

Hello,

since a couple of days I have the following problem: when I try to
drag'n'drop a custom control from a GUI class library to a form (in the
same library) I get the following exception:

An exception occurred while trying to create an instance of
MioLayer.Gui.Config.PrinterConfigControl. The exception was "Cannot find
the assembly MioLayer, Version=1.2.2.6, Culture=neutral,
PublicKeyToken=null.".

MioLayer is the name of the GUI library and Version 1.2.2.6 is an old
(!) Version. For some reason the control which is automatically put in
the toolbox's "My Controls" tab references Version 1.2.2.6, which as I
said is an old version.
I have no idea why this happens cause so far it worked fine and the icon
on the toolbar has always referenced the most recent version.
The exception occurs cause the assembly version 1.2.2.6 cannot be found
- but how does this happen? Where is that kind of meta information stored?

thanks in advance,

Mike
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com