zoukankan      html  css  js  c++  java
  • 通过Package Manager Console 向VS2010安装 EntityFramework

    尝试用VS2010--工具--Library Package Manager--Add Library Package Reference的online搜索 EntityFramework,

    再找到的结果中,点选该Package的Install,

    却提示错误:

    "This package (or one of its dependencies) contains powershell scripts and needs to be installed from the package manager console."

    根据提示改用Package Manager Console来安装,

    打开VS2010--工具--Library Package Manager--Package Manager Console,

    PM > get-package -remote -filter entityframework

     

    Id                         Version                    Description             
    --                         -------                    -----------             
    EFCodeFirst                1.0                        Legacy package, Code F...
    EntityFramework            4.1.10311.0                DbContext API and Code...
    EntityFramework.Sample     4.1                        This sample blog model...
    EntityFramework.SqlServ... 4.1.8482.1                 Allows SQL Server Comp...
    EntityFrameworkProfiler    1.0.0.836                  EntityFramework Profil...

    PM > install-package -id EntityFramework

    You are downloading EntityFramework from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkID=211009. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
    Successfully installed 'EntityFramework 4.1.10311.0'
    Successfully added 'EntityFramework 4.1.10311.0' to .......

  • 相关阅读:
    Ubuntu 16.04 安装 Apache, MySQL, PHP7
    Ubuntu下apache2启动、停止、重启、配置
    织梦-数据库-表和字段说明手册
    DEDECMS去除后门隐患和漏洞以及冗余代码的方法
    Express使用html模板
    windows系统 安装MongoDB
    linux搭建node.js环境
    配置vuejs加载模拟数据
    安卓高级5 zXing
    安卓高级5 传感器和震动 模仿微信摇一摇Ui效果
  • 原文地址:https://www.cnblogs.com/_dragon/p/2013225.html
Copyright © 2011-2022 走看看