Visual Inheritance Error Message - How to Fix?
Posted on 2003-02-27
I have a C# Windows Solution with 3 projects:
ROI_Main - WinForm application and startup project
ROI_Validation - Class library
ROI_Base - Class library with a base WinForm.
I want to visually inherit the form I created in ROI-Base in the Main Program - ROI_Main.
I choose 'Add Inherited Form' from the popup menu, and choose the 'Default_Form' from the ROI_Base project's DLL file - via the wizard.
I then get a really wierd error message:
"Unable to add reference 'ROI_Base' to the current application. Check that a different version of 'ROI_Base' is not already referenced."
What am I doing wrong?
How do I recover from this?
How do I get visual inheritance to work?
I'm sure I'm missing something simple - I just can't see it. ...