Can't Add XSD to Class Project
- by Jeff
Background:
I started with a large solution with many applications in it in VS 2008 and I'm trying to split it up.
Steps to repeat:
I create a new VS 2010 C# class
project I right click and choose add existing item I choose the XSD file from my old project and import it.
The original file is 67KB the imported file is 18KB
Line 134,135 of the original file
<Mapping SourceColumn="ConfigType" DataSetColumn="ConfigType" />
<Mapping SourceColumn="ConfigValue" DataSetColumn="ConfigValue" />
Line 135,136 of the resulting file
<Mapping SourceColumn="ConfigType" DataSetColumn="ConfigType" />
<Mappi
Part way through it's life my old project was upgrade from 2.0 to 3.5 so some of the code is.
Manually copy and paste of the xsd source into the new file and updating the 2.0.0.0 to 4.0.0.0 allowed me to open it it in The GUI for editing XSD files. After fixing all the connection strings and right clicking on every query and clicking configure then finish I was able to gain access to one of the tableadapters out of 6.
I'm stumped as to hoe to get this to compile.
Once it compiles I'm open sourcing it so ask if you want to see the code.