Fix: The type or namespace name 'EntityDataSource' does not exist

Today’s stupid mistake had me going in circles in my Web application project. The error message was:

The type or namespace name 'EntityDataSource' does not exist…

As the rest of the error message suggests, I must be missing an assembly reference. Nope, I’d already added in the references to Entity:

System.Data.Entity

System.Data.Entity.Design

After much frustration until after 1 a.m., I gave up and went to bed.

This morning I realized that what it wanted was the WEB Entity!

System.Web.Entity

System.Web.Entity.Design

Sheesh! Am I the only one who makes these ridiculous errors or just the only one who posts them for all to read????

Ken

10 Comments

Comments have been disabled for this content.