2016-07-05 158 views
0

如何爲Visual Studio 2015安裝實體框架電源工具。我下載了擴展名並將版本更改爲「14.0」,但該包沒有安裝它給了我以下錯誤,請讓我知道,如果我不得不從Pro版本更改爲Community或這方面的任何其他變化,如何爲Visual Studio 2015社區安裝EF電動工具

當在C#項目上右擊,支持以下上下文菜單功能:

  1. 首先進行反向工程師代碼 - 生成POCO類,爲現有數據庫生成DbContext和Code First映射即

在對含有派生的DbContext類文件右鍵單擊,以下上下文菜單功能的支持:

  1. 查看實體數據模型XML - 顯示代表底層代碼首先模型的EDMX XML。
  2. 查看實體數據模型DDL SQL - 顯示與底層EDM模型中的SSDL對應的DDL SQL。
  3. 生成視圖 - 生成EF運行時使用的預編譯視圖,以提高啓動性能。將生成的視圖文件添加到包含的項目。
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() 
+0

您是否嘗試過在,http://thedatafarm.com/data-access/installing-ef-power-tools-into-vs2015/ – Lucky

+1

可能重複的說明[如何使用實體框架電源工具在Visual Studio 2015?](http://stackoverflow.com/questions/27999235/how-to-use-entity-framework-power-tools-in-visual-studio-2015) – Lucky

+0

我很困惑。查看我的編輯,以確保我沒有搞砸。看起來你在日誌中間有你的問題的一部分。我把它放在日誌消息的上面,但我不確定那些東西是不是日誌的一部分。 – Will

回答

相關問題