开发者

EDMX doesn't show the UI designer - gets directly into the XML file

开发者 https://www.devze.com 2023-04-04 21:46 出处:网络
I\'ve reinstalled my laptop - Windows 7, VS2010, VS2010 SP1, SQL2008and SQL2008 SP2. I\'ve also done windows updates - no updates available from update window anymore

I've reinstalled my laptop - Windows 7, VS2010, VS2010 SP1, SQL2008 and SQL2008 SP2. I've also done windows updates - no updates available from update window anymore

The issue I've is: When I double click on the EDMX file it gets directly in to the XML. Why is that? I don't get any error....

I can't do update from Database or add entities from Database etc....

I googled and found you should do open with and choose XML and then close XML and double click again. I've tried several options (open with ) and I don't get the UI Designer for my Entity Framework (edmx ) file.

I clicked on the properties of the file (*.edmx) and I see Cusotmtool: EntityModelCodeGenerator and build action : EntityDeploy

I then right clicked on EDMX and choose 'Run Custom Tool" and then I receive this error "cannot find custom tool 'EntityModelCodeGenerator' on this system."

I checked VS2010 and VS2010 SP1 is installed. I did again install from DVD开发者_开发百科 and choose REPAIR and I still have this problem....

so what could be problem?

thanks


you had unchecked some of recommended features while installing the Visual Studio. Just Reinstall the visual studio to configure the features. after installation open the .edmx file with the "ADO.Net Entity Framwork designer".


Try devenv.exe option /resetskippkgs, then solve the error.


The question is about VS2010, but if you're looking at the same problem on a newer Visual Studio (e.g. VS2013), you probably need to reapply the latest VS update (worked for me) or reinstall VS.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号