zoukankan      html  css  js  c++  java
  • visual studio2017 无法添加引用 未能加载包ReferenceManagerPackage not such interface support 解决方法

    安装完visual studio 2017 后添加引用总是提示 未能加载包ReferenceManagerPackage, 这个问题困扰了两天,直到在网上看到了下面这一段

    I just got this error after installation of Visual Studio 2017.

    The solution was as follows.

    1. Launch Developer Command Prompt for VS 2017
    2. CD C:Program FilesMicrosoft Visual Studio2017CommunityCommon7IDEPublicAssemblies
    3. Run gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll

    You should now see

    Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.0
    Copyright (c) Microsoft Corporation.  All rights reserved.
    
    Assembly successfully added to the cache
    

    Restart Visual Studio and hopefully all will be well and you can add references.

    The file C:UsersUSERAppDataRoamingMicrosoftVisualStudio15.0_cc9cc69aActivityLog.xml is useful for debugging any other assemblies that may be causing the issue. Annoyingly it's very tempting to click No when asked never to see the error message again, which will suppress the error and this path so I thought I'd post it here for reference.

  • 相关阅读:
    第一次结对编程作业
    第一次个人编程作业
    获取file中字段,写入到TXT文件中
    通过file中的字段查询MySQL内容
    MySQL常用语句
    MySQL乱码问题
    脚本数据编码格式转换
    mysql 常用命令操作
    thinkphp项目 Class 'finfo' not found
    POJ3255--次短路
  • 原文地址:https://www.cnblogs.com/real9527/p/6557871.html
Copyright © 2011-2022 走看看