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

This is a discussion on Add referenced data set to designer: Could not add an instance of prjData.dsMachineInfo to the designer. - DOTNET ; 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 ...

+ Reply to Thread
Results 1 to 3 of 3

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

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

    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?





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

    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



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

    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" <notmyfirstname@planet.nl> wrote in message
    news:OHlVdi6KFHA.2136@TK2MSFTNGP14.phx.gbl...
    > 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 to Thread

Similar Threads

  1. Visual Studio DataSet designer doesn't regenerate designer.cs code
    By Application Development in forum CSharp
    Replies: 3
    Last Post: 10-15-2007, 10:15 AM
  2. [ANN] v4.0 - Swing Designer, SWT Designer & WindowBuilder
    By Application Development in forum Java
    Replies: 0
    Last Post: 04-07-2005, 02:33 PM
  3. [ANN] v4.0 - Swing Designer, SWT Designer & WindowBuilder
    By Application Development in forum Java
    Replies: 0
    Last Post: 04-06-2005, 01:12 PM
  4. [ANN] v3.0 - SWT Designer, Swing Designer & WindowBuilder
    By Application Development in forum Java
    Replies: 0
    Last Post: 12-16-2004, 03:27 AM
  5. [ANN] v2.1 - SWT Designer, Swing Designer & WindowBuilder
    By Application Development in forum Java
    Replies: 0
    Last Post: 08-30-2004, 02:02 PM