Click here to Skip to main content
15,891,942 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a typed dataset Data.xsd in a class library. Code compiles and I was able to publish it without any issues.

Today morning I tried to publish it and the publish failed with 101 warnings and 0 error messages.

One warning message I could catch was
"Warning 1 The custom tool 'MSDataSetGenerator' failed while processing the file 'DataModel\Persistence\DOCacheDS.xsd'."

Other warnings were for unused variables etc. and can be ignored for now. I always had them in the project.

I googled a lot and tried all the solutions mentioned but could not make it work.

I tried:
1. Removing and adding the dataset property "Custom Tool: MSDataSetGenerator" as suggested by some forums.
2. Also tried clearing the system cache and closing and opening the Visual Studio.
3. Changing the connection strings to different DB servers.

Can anybody suggest me any workarounds/solutions to this issue.

Please give your comments if you need any more inputs on the problem because I am really stuck here
Posted
Updated 17-May-12 20:40pm
v3

1 solution

I take it you have verified that the schema is actually correct in the XSD. Found this[^] which could be helpful
 
Share this answer
 
v2
Comments
bbirajdar 17-May-12 9:20am    
Thank you for the reply. However, both the solutions mentioned there did not work for me. Apart from that the command name mentioned there should be "xsd.exe" instead of "xds.exe". The second solution I have tried already

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900