O
olympus_mons
Hi,
this is my second problem. I cannot add a new item "Inherited Form" to
my project. After browsing to the DLL containing the component (form
window class) I see the correct class name in the "Inheritance Picker"
dialog, but when I select the class and click "Ok" I get the error:
Unable to add reference 'MyNameSpace.UI' to the application. Check
that a different version of 'MyNameSpace.UI' is not already
referenced.
But if I manually add a reference to the DLL to my app, then create a
new form window, change the parent class name from "Form" to
"MyFormClass", then it works.
What maybe wrong when I try to go the VS2005 IDE way using the
"Inheritance Picker" Dialog?
I also googled for this error, found numerous references but none of
them really provided a definitive hint what may be the cause of the
problems (ranging from "setting 'Local Copy' to false for the
referenced DLL", or "changing the GUID for the DLL and rebuilding",
"putting the DLL in the default folder for VS projects in MyDocuments"
to the obligatory "rebooting the PC").
Does anybody have a good hint for me?
Thanks,
Stefan
this is my second problem. I cannot add a new item "Inherited Form" to
my project. After browsing to the DLL containing the component (form
window class) I see the correct class name in the "Inheritance Picker"
dialog, but when I select the class and click "Ok" I get the error:
Unable to add reference 'MyNameSpace.UI' to the application. Check
that a different version of 'MyNameSpace.UI' is not already
referenced.
But if I manually add a reference to the DLL to my app, then create a
new form window, change the parent class name from "Form" to
"MyFormClass", then it works.
What maybe wrong when I try to go the VS2005 IDE way using the
"Inheritance Picker" Dialog?
I also googled for this error, found numerous references but none of
them really provided a definitive hint what may be the cause of the
problems (ranging from "setting 'Local Copy' to false for the
referenced DLL", or "changing the GUID for the DLL and rebuilding",
"putting the DLL in the default folder for VS projects in MyDocuments"
to the obligatory "rebooting the PC").
Does anybody have a good hint for me?
Thanks,
Stefan