我試圖在我的機器上安裝新的Visual Studio 2017 RC。 由於沒有足夠的可用磁盤空間,第一次嘗試在下載過程中失敗。在那之後重新安裝的每個嘗試將導致以下錯誤/錯誤時拋出:Visual Studio 2017 RC安裝錯誤0x80131500無法反序列化包
2016-11-17T16:50:08 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: JsonReaderException at bei Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
bei Newtonsoft.Json.JsonTextReader.ParseString(Char quote, ReadType readType)
bei Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
bei Newtonsoft.Json.JsonTextReader.ReadAsString()
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
bei Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
bei Microsoft.VisualStudio.Setup.Serialization.ModelSerializer`1.Deserialize(TextReader reader)
bei Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance()
bei Microsoft.VisualStudio.Setup.Cache.CacheRepository.<GetInstances>d__25.MoveNext()
bei Microsoft.VisualStudio.Setup.InstalledProductsProviderService.GetInstalledProductSummariesImpl()
bei Microsoft.VisualStudio.Setup.InstalledProductsProviderService.GetInstalledProductSummaries()]
我已經嘗試過:
- 下載並運行安裝程序再次
- 手動刪除C:\ Program Files文件(86 )\ Microsoft Visual Studio *
- 已刪除已安裝的新組件(Core Framework,Win SDK等)
- 已卸載Visual Studio 15 Preview
我認爲安裝程序無法獲取哪些產品已安裝的信息。在錯誤時拋出前一號線:
2016-11-17T16:50:08 : Verbose : Getting product summaries. [installerId: SetupEngine]
我已經知道失敗的Visual Studio安裝有時是那麼糟糕,只有重新安裝操作系統解決了這個問題。但我在此之前,也許有人有一個解決方案或暗示 - 主要是「只是」一個JSON解析的問題...
今天有人在嘗試安裝Visual Studio 2017(不是RC)之後,因先前安裝由於磁盤空間不足而失敗。在我們的例子中,該文件位於'%ProgramData%\ Microsoft \ VisualStudio \ Packages \ _Instances \'(注意'_Instances'之前的附加斜線) –
Sam
完美!我也有類似的問題,你的解決方案拯救了我的生命...... –