T
Tony Johansson
Hello!
I have one solution file that consist of three project.
One project that build the exe file called A
One project that build a user control dll. Here we have a class called B
One project that build a class library dll. Here we have a class called C
We have one dependency and that is from the user control to the class
library because
in the constructor for class B in the user control we have a call to
instansiate class C in the class library dll.
public B()
{
InitializeComponent();
Last.C last = new Last.C();
last.foo();
}
In the project that create the exe file I have a project reference to the
user control.
In the project that create the user control I have a project reference to
the class library.
When I add the user control to the Toolbox I use the obj/debug directory to
select the user control dll.
Now to my problem when I try to drag the user control from the toolbox into
a form I get the following error "An exception occured while trying to
create an instance of WindowsControlLibrary.B. The execption was "?"."
Is this kind of a bug that cause this problem.
Is it possible to solve this kind of problem in some way.
I have even rebuild the user control dll and the class library dll but it
doesn't matter.
//Tony
I just wonder what is the requirement about the dll and its version on the
dll
I noticed that when I get error
I have one solution file that consist of three project.
One project that build the exe file called A
One project that build a user control dll. Here we have a class called B
One project that build a class library dll. Here we have a class called C
We have one dependency and that is from the user control to the class
library because
in the constructor for class B in the user control we have a call to
instansiate class C in the class library dll.
public B()
{
InitializeComponent();
Last.C last = new Last.C();
last.foo();
}
In the project that create the exe file I have a project reference to the
user control.
In the project that create the user control I have a project reference to
the class library.
When I add the user control to the Toolbox I use the obj/debug directory to
select the user control dll.
Now to my problem when I try to drag the user control from the toolbox into
a form I get the following error "An exception occured while trying to
create an instance of WindowsControlLibrary.B. The execption was "?"."
Is this kind of a bug that cause this problem.
Is it possible to solve this kind of problem in some way.
I have even rebuild the user control dll and the class library dll but it
doesn't matter.
//Tony
I just wonder what is the requirement about the dll and its version on the
dll
I noticed that when I get error