Monthly Archives: November 2012

Where is “Run Custom Tool”?

I’m working on some old stuff at work and ran across this problem. I was bringing in an XSD file (which is a definition of a strongly typed dataset). I right clicked on the file in VS2005 and expected to see “Run Custom Tool” in the context menu (which will instruct VS to use the definition to generate classes for your dataset, datatables, dataadapters). Nope. Not there. Hmmm.

This helped:

http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/a8ae1fdc-44c4-4178-aeb4-4ed96cc554d6

(Thanks BonnieB!)

Click the XSD file in the Solution Explorer, and in properties. under “Custom Tool” enter “MSDataSetGenerator”.

Now “Run Custom Tool” is available in the context menu.

Sweet.