C# Visual studio 2012 express中未显示ADO.NET实体数据模型

C# Visual studio 2012 express中未显示ADO.NET实体数据模型,c#,.net,entity-framework,visual-studio-2012,C#,.net,Entity Framework,Visual Studio 2012,我尝试了互联网上解决这个问题的方法,但没有一个有效。 当我单击模型并添加新项时,没有显示ADO.NET实体数据模型选项 Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows\system32>devenv.exe /ResetSkipPkgs 'devenv.exe' is not recognized as an in

我尝试了互联网上解决这个问题的方法,但没有一个有效。 当我单击模型并添加新项时,没有显示ADO.NET实体数据模型选项

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>devenv.exe /ResetSkipPkgs
'devenv.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\system32>
我观察到一个类似try-devenv.exe/ResetSkipPkgs的解决方案,但它显示

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>devenv.exe /ResetSkipPkgs
'devenv.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\system32>

您的visual studio安装在哪里?devenv.exe是启动Visual studio的可执行文件。您尝试运行的命令必须从包含visual studio express安装的文件夹中运行。例如,Visual Studio 2010可能位于
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe下该文件夹中不存在是这是通过检查Visual Studio应用程序上的目标[右键单击-->属性-->目标]可以找到devenv.exe所在位置的图像。接下来,导航到终端[command prompt]上的该文件夹,并如上所述运行命令