zoukankan      html  css  js  c++  java
  • the package (or one of dependencies)

    尝试用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 -Version 4.1.10311.0
    
    You are downloading EntityFramework from Microsoft, the license agreement to which is available athttp://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 .......
    
    VS2010安装 EntityFramework
    
    如果在Add Library Package Reference安装失败只需三步 :)
    
    
    
    打开VS2010--工具--Library Package Manager--Package Manager Console,
    
    PM > get-package -remote -filter entityframework(在PM>输入get-package -remote -filter entityframework)
    
    PM > install-package -id EntityFramework -Version 4.1.10311.0(同上
    
  • 相关阅读:
    基本算法 st
    winServer服务器设置多用户同时远程访问!
    类的实例化顺序
    基于layui的数据列表展示数据中template的作用。使得日期等数据符合预期进行展示
    基于layui的laydate,在加载后台数据时laydate.render()不起作用。
    微信企业号两种常用搜索加载方式
    Docker搭建私有仓库registry
    第7章 Dockerfile详解
    第6章 docker数据管理
    第5章 Docker的四种网络模式
  • 原文地址:https://www.cnblogs.com/webyu/p/2728707.html
Copyright © 2011-2022 走看看