zoukankan      html  css  js  c++  java
  • Installing EF Power Tools into VS2015

    TLDR: If you don’t want to do the tasks (even though they are so easy) you can download the updated VSIX I created from here.

    The Entity Framework Power Tools extension for Visual Studio has been around for quite some time and is still called a Beta. I cannot live without it’s “View Entity Data Model (Read-Only)” feature which I used to validate my code first models.

    But if you try to install the extension into Visual Studio 2015, you won’t find it.

    7-25-2015 9-47-12 AM

    Checking the extension in Visual Studio Gallery, you’ll see that it hasn’t been updated to install into VS2015.7-25-2015 9-47-49 AM

    The fix is nothing more than making it know about VS2015. There are no other compatibility problems that I have experienced. Modifying an extensions installation package (which is just a zip file!) to be aware of another version of Visual Studio is pretty easy. Here are the steps to get the EF Power Tools into VS2015.

    Download the extension from the Visual Studio Gallery page.

    Find the file

    7-25-2015 9-50-13 AM

    and change it’s extension to zip.

    7-25-2015 9-50-33 AM

    Extract the files from the zip file.

    7-25-2015 9-53-01 AM

    Open the extension.vsixmanifest file in a text editor and find the Supported Products section.

    7-25-2015 9-53-25 AM

    And copy paste one of the Visual studio elements, changing the version to 14.0. I have the Enterprise version but didn’t bother changing it from Pro here and it didn’t seem to be a problem.

    7-25-2015 9-53-47 AM

    Now you have to reverse your steps in order to recreate the VSIX file.

    Select the files in the extracted folder and zip them. Don’t zip the folder. The files have to be at the root. (Guess how I learned that! Smile ) I named my zip file VSPowerTools15.zip

    7-25-2015-9-55-47-AM.png

    Rename the file to have the vsix extension.

    7-25-2015 9-56-01 AM

    Run the file right from here.

    7-25-2015 9-56-16 AM

    Voila!

    7-25-2015 9-56-22 AM

    If Visual Studio was open, you’ll have to restart to get this to kick in.

    Also you’ll see Entity Framework Power Tools listed in the installed extensions when you look at the About section of Visual Studio 2015.

    I accidentally mistook this for something it was NOT and (embarrassingly) tweeted it. I had forgotten that I had done this for the VS2015 preview. Then I installed VS2015 RTM on top of the preview and that picked up all of the installed extensions. When I saw the power tools listed in About, I thought they had a) finally gotten rid of the “Beta” tag and b) installed automatically with VS2015. When I realized the extension was installed, I uninstalled that and indeed the tool went away. So for anyone who saw that tweet…. sorry! Guilty as charged …

  • 相关阅读:
    一个简易的四则运算单元...(15.12.15 BUG更新)
    转一个PDevMode格式属性说明...
    正则表达式语法
    模拟键盘发送文字
    一个修改过简化版的InputQuery
    获取进程列表的单元
    获取EMF文件内全部文字, 并按照左上到右下的顺序排序
    非主窗体在任务栏显示按钮
    禁用窗体关闭按钮
    一个支持FMX.Win框架的托盘控件
  • 原文地址:https://www.cnblogs.com/jimcsharp/p/5894918.html
Copyright © 2011-2022 走看看