Hi Trent,
Maybe something has can astray in my environment. Here is what I have just done:
1. Created a Windows class, called it boBase03 and copied in your code and changed the classes internal name to boBase03.
2. Did a rebuild.
2. Created a new BO (BusinessObject2) and mapped it to a simple table and did a partial rebuild with the new BO.
3. Opening up the new BO in the IDE and no problems - could toggle ok between the BusinessObject2.vb and BusinessObject2.vb[Design] tabs. Also opened its Designer file - no problems.
4. Did a rebuild.
5. Opened my new BO and changed the inherits line to: Inherits TMS_Test_01.boBase03
6. Did a rebuild.
7. Click on the BussinessObject2.vb[Design] tab in the IDE and received the following error (same as before).
8. Changes the inheritance back to: Inherits MicroFour.StrataFrame.Business.BusinessLayer.
9. Did a rebuild.
10. Everything is ok.
11. Closed all tabs.
12. Opened BusinessObject02 and changed the inheritance back to: Inherits TMS_Test_01.boBase03
13. Clicked the BusinessObject2.vb[Design] and tab and again the same error appears.
Trent, what I did notice is that my standard (base BO - "boBase03") Windows class that now contains the code you provided also appears in the BO Mapper with the red (must be configured) cross symbol. I didn't do anything with it in BO Mapper but is this expected?
I will try repeating these tests in a new Solution.
Cheers, Peter
>>>>>>>>>>>>>>>>
The designer could not be shown for this file because none of the classes within it can be designed. The
designer inspected the following classes in the file: BusinessObject2 --- The base class 'TMS_Test_01.boBase03'
could not be loaded. Ensure the assembly has been referenced and that all projects have been built.
Hide
at
System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager
manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationM
anager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
>>>>>>>>>>>>>>>>>>>