如何为visual studio 2015社区安装EF电动工具

时间:2016-07-05 05:42:47

标签: c# asp.net entity-framework entity-framework-6

如何为visual studio 2015安装实体框架电动工具。我下载了扩展程序并将版本更改为" 14.0"但是包没有安装它给了我以下错误,如果我必须将版本从Pro更改为Community或其他任何更改,请告诉我,

右键单击C#项目时,支持以下上下文菜单功能:

  1. 逆向工程师代码优先 - 为现有数据库生成POCO类,派生DbContext和Code First映射。
  2. 右键单击包含派生DbContext类的文件时,支持以下上下文菜单功能:

    1. 查看实体数据模型XML - 显示代表基础代码优先模型的EDMX XML。
    2. 查看实体数据模型DDL SQL - 显示底层EDM模型中与SSDL相对应的DDL SQL。
    3. 生成视图 - 生成EF运行时使用的预编译视图,以提高启动性能。将生成的视图文件添加到包含的项目中。
    4. 7/5/2016 1:36:56 AM - Microsoft VSIX Installer
      7/5/2016 1:36:56 AM - -------------------------------------------
      7/5/2016 1:36:56 AM - Initializing Install...
      7/5/2016 1:36:56 AM - Extension Details...
      7/5/2016 1:36:56 AM -   Identifier         : 2b119c79-9836-46e2-b5ed-eb766cebbf7c
      7/5/2016 1:36:56 AM -   Name               : Entity Framework Power Tools Beta 4
      7/5/2016 1:36:56 AM -   Author             : Microsoft
      7/5/2016 1:36:56 AM -   Version            : 0.9.0.0
      7/5/2016 1:36:56 AM -   Description        : Preview of useful design-time features for DbContext.
      7/5/2016 1:36:56 AM -   Locale             : en-US
      7/5/2016 1:36:56 AM -   MoreInfoURL        : http://go.microsoft.com/fwlink/?LinkId=327691
      7/5/2016 1:36:56 AM -   InstalledByMSI     : False
      7/5/2016 1:36:56 AM -   SupportedFrameworkVersionRange : [4.0]
      7/5/2016 1:36:56 AM - 
      7/5/2016 1:36:56 AM -   SignatureState     : InvalidSignature
      7/5/2016 1:36:56 AM -   Supported Products : 
      7/5/2016 1:36:56 AM -       Microsoft.VisualStudio.Pro
      7/5/2016 1:36:56 AM -           Version : [10.0]
      7/5/2016 1:36:56 AM -       Microsoft.VisualStudio.Pro
      7/5/2016 1:36:56 AM -           Version : [11.0]
      7/5/2016 1:36:56 AM -       Microsoft.VisualStudio.Pro
      7/5/2016 1:36:56 AM -           Version : [12.0]
      7/5/2016 1:36:56 AM - 
      7/5/2016 1:36:56 AM -   References         : 
      7/5/2016 1:36:56 AM -       -------------------------------------------------------
      7/5/2016 1:36:56 AM -       Identifier   : Microsoft.VisualStudio.MPF
      7/5/2016 1:36:56 AM -       Name         : Visual Studio MPF
      7/5/2016 1:36:56 AM -       Version      : [10.0,)
      7/5/2016 1:36:56 AM -       MoreInfoURL  : 
      7/5/2016 1:36:56 AM -       Nested       : No
      7/5/2016 1:36:56 AM - 
      7/5/2016 1:36:56 AM - Signature Details...
      7/5/2016 1:36:56 AM -   Extension is signed with an invalid signature.
      7/5/2016 1:36:56 AM - 
      7/5/2016 1:36:56 AM - Searching for applicable products...
      7/5/2016 1:36:57 AM - Found installed product - Microsoft Visual Studio Community 2015
      7/5/2016 1:36:57 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
      7/5/2016 1:36:57 AM - Found installed product - Global Location
      7/5/2016 1:36:57 AM - Found installed product - ssms
      7/5/2016 1:36:57 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
         at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
         at VSIXInstaller.App.InitializeInstall()
         at System.Threading.Tasks.Task.InnerInvoke()
         at System.Threading.Tasks.Task.Execute()
      

1 个答案:

答案 0 :(得分:2)

请在链接

中找到以下解决方案

我有些想通了,顺便说一下也使用winzip或winrar而不是zip来拉链和提取,可能是它的werid但它的工作原理

https://www.dropbox.com/sh/zw7qvgifwrxzqtb/AAC7Way10wpYGR2_E-BFXB7wa?dl=0