【问题标题】:Visual Studio cannot find the EntityModelCodeGenerator custom toolVisual Studio 找不到 EntityModelCodeGenerator 自定义工具
【发布时间】:2022-02-18 22:12:52
【问题描述】:

我正在帮助使用实体模型框架在 Visual Studio 2008 中开发 MVC 应用程序。我已经从源代码管理中获得了代码,我想从 edmx 文件中添加一些新模型。我右键单击,然后单击“自定义工具”,但随后出现以下错误。

在此系统上找不到自定义工具“EntityModelCodeGenerator”。

我有 Visual Studio 2008、.NET 3.5 SP1、MVC 1.0。

我错过了什么?

提前致谢。

【问题讨论】:

    标签: asp.net-mvc entity-framework


    【解决方案1】:

    您需要 VS2008 SP1。

    【讨论】:

    • 天啊!非常感谢你的头部打击。
    【解决方案2】:

    如果您使用的是 Visual Studio 2019:

    1. 通过单击菜单Tools -> Get Tools and Features in Visual Studio 打开 Visual Studio 安装程序
    2. 点击标签Individual components并搜索“实体”,
    3. 在标题SDKs, libraries, and frameworks 下,您应该看到Entity Framework 6 tools
    4. 点击复选框并按下安装按钮

    【讨论】:

      猜你喜欢
      • 2012-04-23
      • 2014-04-03
      • 1970-01-01
      • 2011-03-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-05
      • 1970-01-01
      相关资源
      最近更新 更多