Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why does .xsd not seem to work with my namespace.

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
US
I get the message:
Code:
Type 'underclassOrders.School' is not defined.

This was an XSD file generated by Visual Studio. When I open the file I see:
Code:
targetNamespace="[URL unfurl="true"]http://www.tempuri.org/School.xsd"[/URL]

What is up with that. Shouldn't it be my namespace, 'underclassOrders'? Why does Visual Studio break my code!!!?
 
Very simple, my namespace and one of my classes was the same name (Capital vs lowercase). I simply changed my classname to 'main' since it was the main form anyways.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top