PC Review


Reply
Thread Tools Rate Thread

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

 
 
D Witherspoon
Guest
Posts: n/a
 
      17th Mar 2005
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?




 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      18th Mar 2005
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


 
Reply With Quote
 
D Witherspoon
Guest
Posts: n/a
 
      18th Mar 2005
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>




"Cor Ligthert" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Name of an instance in designer mode Marcel Overweel Microsoft C# .NET 2 28th Feb 2008 07:48 AM
Visual Studio DataSet designer doesn't regenerate designer.cs code Barney Microsoft C# .NET 3 15th Oct 2007 04:15 PM
Add referenced data set to designer: Could not add an instance of prjData.dsMachineInfo to the designer. D Witherspoon Microsoft Dot NET 2 18th Mar 2005 01:28 PM
Could not add an instance of <dataset> to the designer Axel Microsoft ADO .NET 4 15th Feb 2005 03:18 PM
Problem graphically binding to an externally referenced DataSet inWinForms Designer Lorenz Kahl Microsoft ADO .NET 3 2nd Sep 2004 12:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:21 PM.