visual studio .net general:
Hello,
I have this really annoying problem: I'm designing an application that
must work on XML data file for which I have a valid schema.
In order to make it easy for me to create a GUI, I used the XSD.exe
application that comes with Visual Studio 2005 to generate a dataset in
C#. I then added a dataset in my MDI child document window, pointing at
the dataset as its type. That worked fine. The command line I used is:
xsd.exe /d /n:tv {schema file.xsd}
But from that point, very little things seem to be working:
- It's impossible to click on the databinding in the forms controls: at
best, I have a dialog informing me that "Child list for field tv cannot
be created." At worse, the IDE instantly closes without an error
message.
- If I pick a listbox and uses the "listbox tasks" shortcut to generate
a databinding, the IDE will crash as soon as I click in the "Selected
value" dropdown (not that I really need it, but an IDE crash - taking
along my changes - is a harsh way to indicate that I don't have the
right to do that).
About the only thing that is more or less working are the datagrids.
Unfortunately, this really isn't helping because the data I need to
display aren't suited for datagrid displaying (well, not all of it
anyway).
Here is a sample of the IDE crash:
AppName: devenv.exe AppVer: 8.0.50727.42 AppStamp:4333e699
ModName: kernel32.dll ModVer: 5.1.2600.2180 ModStamp:411096b4
fDebug: 0 Offset: 0001eb33
The "problem resolution" web page links it to a VB error which doesn't
apply (I'm not using VB at all).
As of to now, I'm up to 45 IDE crashes this afternoon: that way too
high to be usable.
What am I doing wrong, if anything ?
How can I fix this ?
Is there a less painful way to work with XML documents ?
Thanks,