Reputation:
I'm not sure if this question is appropriate for SO, but I'm sure a few people here have been through it:
I'm trying to follow the MVC tutorials on the ASP.NET website and there's a point at which it has you add an ADO.NET entity to the project, but for some reason, it doesn't appear on the dialog for adding a new item. I've got SP1 for .NET 3.5 installed, so I have no idea why it isn't showing up. Anyone know of something else I need to install or tick for it to show up?
Thanks
Upvotes: 6
Views: 423
Reputation: 32851
The Entity Data Source appears on the Toolbox, in the Data section.
Here's some helpful information from an MSDN blog for people who can't see the item in the Toolbox:
Can't find the Entity Data Source?
If you upgrade the RTM version of Visual Studio 2008 with SP1, the EntityDataSource control doesn't appear in the Data group of the Web project Toolbox by default. To add the control to the Toolbox:
If you cannot see “EntityDataSource” in the list, you may need to add the assembly manually. To do that, click on the “Browse” button on the “Choose Toolbox Items” window. Then browse for the System.Web.Entity.dll under “C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5” or the equivalent folder in your configuration.
Upvotes: 5