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


D

D Witherspoon

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.
 
Ad

Advertisements

C

Cor Ligthert

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
 
Ad

Advertisements

D

D Witherspoon

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top