Resharper最终无法安装扩展

时间:2016-12-25 12:19:52

标签: c# visual-studio-2013 resharper

Resharper ultimate 2016.3无法安装扩展程序,并出现以下错误:

14:17:15.792 |E| ExtensionManagerViewModelProvider | The operation has timed out.

--- EXCEPTION #1/2 [WebException]
Message = “The operation has timed out.”
ExceptionPath = Root.InnerException
ClassName = System.Net.WebException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System
StackTraceString = “
  at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
     at NuGet.HttpClient.DownloadData(Stream targetStream)
     at NuGet.PackageDownloader.DownloadPackage(IHttpClient downloadClient, IPackageName package, Stream targetStream)
     at NuGet.PackageDownloader.DownloadPackage(Uri uri, IPackageMetadata package, Stream targetStream)
     at NuGet.DataServicePackage.<EnsurePackage>b__0(Stream stream)
     at NuGet.MachineCache.<>c__DisplayClass34.<InvokeOnPackage>b__33()
     at NuGet.MachineCache.TryAct(Func`1 action, String path)
     at NuGet.MachineCache.InvokeOnPackage(String packageId, SemanticVersion version, Action`1 action)
     at NuGet.DataServicePackage.EnsurePackage(IPackageCacheRepository cacheRepository)
     at NuGet.DataServicePackage.get_FrameworkAssemblies()
     at NuGet.PackageExtensions.HasProjectContent(IPackage package)
     at NuGet.PackageWalker.GetPackageTarget(IPackage package)
     at NuGet.PackageWalker.GetPackageInfo(IPackage package)
     at NuGet.PackageWalker.Walk(IPackage package)
     at NuGet.InstallWalker.ResolveOperations(IPackage package)
     at NuGet.PackageManager.Execute(IPackage package, IPackageOperationResolver resolver)
     at NuGet.PackageManager.InstallPackage(IPackage package, FrameworkName targetFramework, Boolean ignoreDependencies, Boolean allowPrereleaseVersions, Boolean ignoreWalkInfo)
     at NuGet.PackageManager.InstallPackage(IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
     at JetBrains.Application.SinceClr4.Extensions.ExtensionManagerViewModelProvider.<>c__DisplayClass33.<>c__DisplayClass3f.<get_Model2>b__29()
     at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
”

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “The operation has timed out.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
     at JetBrains.Application.SinceClr4.Extensions.ExtensionManagerViewModelProvider.<>c__DisplayClass33.<>c__DisplayClass3f.<get_Model2>b__28()
     at JetBrains.UI.ExtensionManager.ViewModels.ExtensionActionViewModel.Do()
     at JetBrains.UI.ExtensionManager.ViewModels.ExtensionManagerViewModel.<BeginInstallation>b__10(ProgressIndicator indicator, Property`1 description)
     at JetBrains.UI.ExtensionManager.ViewModels.ProgressPage.<>c__DisplayClass6.<Run>b__3()
     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ThreadHelper.ThreadStart()
”

有谁知道如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

尝试执行here所述的离线插件安装:

  

1)在浏览器中打开http://resharper-plugins.jetbrains.com/packages;

     

2)登录网站;

     

3)找一个插件,例如   http://resharper-plugins.jetbrains.com/packages/JetBrains.AngularJS/   (注意,可能有两个版本的插件 - 一个用于   R#8.x和R#10.x / 2016.x);

     

4)在版本历史记录中,选择涵盖已安装的插件版本   R#build;

     

5)如果您已登录,则会有一个下载链接;

     

6)点击下载链接并下载nuget包;

     

注意:如果插件页面的“依赖关系”部分中存在任何其他依赖项(除了#34; Wave&#34;),请下载并将它们放到本地文件夹中同样;

     

7)把它放到任何文件夹中;

     

8)在此处指定此类文件夹&#34; ReSharper |选项|环境|   Extension Manager |添加&#34;并取消选中&#34; .NET产品库&#34;复选框;

     

9)运行ReSharper | Extension Manager并安装插件   出现在那里。