我从这里下载了这个扩展: https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.ProductivityPowerPack2017
我将其复制到了无法连接到互联网的服务器上。但是它没有安装在我的vs 2017上并出现错误: 无法连接到远程服务器
ProductivityPowerPack 2015在vs 2015上已正确安装。
日志:
Unable to connect to the remote server
8/25/2019 6:08:37 PM - at System.Net.HttpWebRequest.GetResponse()
at Microsoft.VisualStudio.ExtensionManager.EngineUtilities.ResolveFwLink(Uri url)
at Microsoft.VisualStudio.ExtensionManager.BaseExtensionRepository.GetResolvedRepositoryServiceUri(Func`2 resolver)
at Microsoft.VisualStudio.ExtensionManager.VSGalleryRepository.GetExtensions[T](List`1 extensionIds, Int32 lcid, Boolean forAutoupdate)
at VSIXInstaller.ExtensionPackService.GetExtensionByVsixId(List`1 vsixIds, String extensionPackParentName, IExtensionEngine extensionEngine, List`1 extensionsToInstall, CancellationToken cancellationToken)
8/25/2019 6:08:37 PM - END: Gathering extension pack information
8/25/2019 6:08:37 PM - END: Processing extension pack
8/25/2019 6:08:37 PM - System.Net.WebException: Unable to connect to the remote server --->
System.Net.Sockets.SocketException: A connection attempt failed because the connected
party did not properly respond after a period of time, or established connection failed
because connected host has failed to respond 104.66.89.155:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.VisualStudio.ExtensionManager.EngineUtilities.ResolveFwLink(Uri url)
at Microsoft.VisualStudio.ExtensionManager.BaseExtensionRepository.GetResolvedRepositoryServiceUri(Func`2 resolver)
at Microsoft.VisualStudio.ExtensionManager.VSGalleryRepository.GetExtensions[T](List`1 extensionIds, Int32 lcid, Boolean forAutoupdate)
at VSIXInstaller.ExtensionPackService.GetExtensionByVsixId(List`1 vsixIds, String extensionPackParentName, IExtensionEngine extensionEngine, List`1 extensionsToInstall, CancellationToken cancellationToken)
at VSIXInstaller.ExtensionPackService.AcquireExtensionPack(IList`1 extensionsPath, IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()