Missing ADO.NET Entity Framework

J

John

Hi

I have installed vs2008/.net3.5 SP1 (details below) but I still can't see
ADO.Net Entity Framework under 'New Item' in my WinForm vb.net solution.

What am I doing wrong?

Thanks

Regards


Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional

Microsoft Visual Basic 2008 91605-270-1602131-60476
Microsoft Visual Basic 2008

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1
(KB945140) KB945140
This service pack is for Microsoft Visual Studio 2008 Professional Edition -
ENU.
If you later install a more recent service pack, this service pack will be
uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945140.
 
S

Scott M.

I thought the Entity Framework was a set of classes and not an "item" to be
added.
 
B

Bill McCarthy

Hi John,

If you go to add to your winforms project, an "ADO.NET Entity Data Model"
should be the first item listed in the data node. It may not be showing if
you have set your winforms project to be 2.0 instead of 3.5. to make sure
you're a 3.5 winforms app, click on "My Project" in solution explorer,
select the compile tab, click on the Advanced Compile Options and make sure
the Target Framework option is set to 3.5. Apparently, it helps if you
stand one one leg while singing while doing this, but as I haven't been able
to confirm the song you're meant to sing I'm not sure that last bit is
completely true ;)
 
J

John

Hi Bill

Yes, it has worked after switching to 3.5. How can I make 3.5 default for a
new project?

Thanks

Regards
 
B

Bill McCarthy

In
John said:
Hi Bill

Yes, it has worked after switching to 3.5. How can I make 3.5 default
for a new project?

I think it remembers what you select when you create a new project. (top
right of the new project dialogue)
 
Joined
Mar 30, 2010
Messages
1
Reaction score
0
ADO.NET Entity Framework Missing Template

Hello,

I've been having the same problem myself. Very Frustrating. Also, interestingly enough, I had the ADO.NET EF icon available in the express edition of C# (installed on the same box) but not in VS 2008? Weird!

The solution in the thread above didn't work for me... what I ended up doing was re-installing SP1 for VS and .NET 3.5. (See links below) Auto-magically, the template icon re-appeared in VS. :)

Go to this link... and scroll to the "Where can I find these new features" section. That will have two links. One for .NET Framework 3.5 SP1 and another for VS 2008 SP1 & .NET Framework 3.5 SP1 (as a combo download).

http://www.asp.net/(S(ywiyuluxr3qb2dfva1z5lgeg))/downloads/3.5-SP1/

Direct Link...
http://www.microsoft.com/downloads/...48-7106-44a7-9649-6d9f6d58056e&displayLang=en

Hope that helps!

-Bob

---
Viscro Consulting
http://www.viscro.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top