Microsoft Entity Framework

I'm not sure this question is suitable for SO, but I'm sure a few people went through it:

I am trying to follow the MVC tutorials on the ASP.NET website and where it adds the ADO.NET object to the project, but for some reason it does not appear in the dialog box to add a new element. I have installed SP1 for .NET 3.5, so I have no idea why it does not appear. Does anyone know anything else that I need to install or mark so that it appears?

thanks

+6
visual-studio asp.net-mvc entity-framework
source share
2 answers

An entity data source appears on the toolbar in the "Data" section.

Here is some useful information from the MSDN blog for people who don鈥檛 see an item in the toolbar:

Can't find an Entity data source?

If you are upgrading from RTM Visual Studio 2008 Service Pack 1, the EntityDataSource control does not appear in the Data group of the web project by default. To add a control to a toolbar:

  • 路 Open Visual Studio
  • 路 Open or create a web application or project.
  • . Make sure the toolbar tool window is visible.
  • 路 Right-click on the toolbar in the "Data" group and select "Select Elements ...".
  • 路 Wait while selecting the "Toolbar" Elements ".
  • . Scroll through the list of components in the ".NET Framework Components" section until you find "EntityDataSource"
  • 路 Verify that the check box is checked next to EntityDataSource and click OK. Button.

If you do not see the "EntityDataSource" in the list, you may need to add the assembly manually. To do this, click the "Browse" button in the "Select Toolbar Elements" window. Then, view the System.Web.Entity.dll file under "C: \ Program Files \ Reference Assemblies \ Microsoft \ Framework \ v3.5" or the equivalent folder in your configuration.

+5
source share
0
source share

All Articles