Visual studio 2017添加引用时报错未能正确加载ReferenceManagerPackage包的解决方法

vs2017添加引用时报错未能正确加载“ReferenceManagerPackage”包。 - AusonSir - 博客园
https://www.cnblogs.com/-bao/p/6749419.htmlhtml

解决方法

  1. 启动Developer Command Prompt for VS 2017
  2. 执行命令CD
    C:\Program Files\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies

    • 备注:默认的安装地址就是这里,若是不同请自行修改路径。
  3. 执行命令gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll
  4. 执行完成以后,你将会看到ui

    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
    • 1
  5. 以后,重启Visual Studio就能够加载引用了。
相关文章
相关标签/搜索