Groups | Blog | Home
all groups > vb.net data > march 2005 >

vb.net data : Add referenced data set to designer: Could not add an instance of prjData.dsMachineInfo to the designer.


D Witherspoon
3/17/2005 3:54:08 PM
In my solution I have two projects. One project contains windows forms and
other user interface stuff. The other project contains data classes and
typed data sets (.xsd).

I've referenced prjFrontEnd with prjData.

I am dragging a dataset object onto the form into design mode. I can select
a typed dataset from its current project, but when I click in the drop down
"Referenced Datasets" and then click the dataset from the other project
(which now show up in the drop down list) I get the following error message.
--
Could not add an instance of prjData.dsMachineInfo to the designer.

To resolve this problem, build the project, fix any errors, and add the
instance to the designer again.
--
I have done that, and there are no errors in either project but this error
will not go away.

Does anyone have any suggestions?



D Witherspoon
3/18/2005 8:28:07 AM
Yep all that was fine.

Funny enough, I re-started the IDE and all worked fine.

I wish I had done that first before writing that long newsgroup post ..
<shrug>




[quoted text, click to view]

Cor Ligthert
3/18/2005 11:52:59 AM
D,

Did you set a reference to that other project using
Project-> Add References -> Tab projects

Assuming you have added that other project to your current project

Cor

AddThis Social Bookmark Button