我下载了安装文件并尝试安装,但是,无论我尝试什么,我都会收到同样的错误,错误日志如下:
[7744:0021 ] [2017-03-18T13:20:57]错误0x80131500: at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote) at Newtonsoft.Json.JsonTextReader.ParseString(Char quote,ReadType readType) at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) at Newtonsoft.Json.JsonTextReader.ReadAsString() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader,JsonContract contract,Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject,JsonReader reader,JsonObjectContract contract,JsonProperty member,String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader,Type objectType,JsonContract contract,JsonProperty member,JsonContainerContract containerContract,JsonProperty containerMember,Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list,JsonReader reader,JsonArrayContract contract,JsonProperty containerProperty,String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader,Type objectType,JsonContract contract,JsonProperty member,Object existingValue,String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty属性,JsonConverter propertyConverter,JsonContainerContract containerContract,JsonProperty containerProperty,JsonReader reader,Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject,JsonReader reader,JsonObjectContract contract,JsonProperty member,String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader,Type objectType,JsonContract contract,JsonProperty member,JsonContainerContract containerContract,JsonProperty containerMember,Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader,Type objectType,Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader,Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize [T](JsonReader reader) at Microsoft.VisualStudio.Setup.Serialization.ModelSerializer`1.Deserialize(TextReader reader) at Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance() at Microsoft.VisualStudio.Setup.Cache.CacheRepository。< GetInstances> d__27.MoveNext() at System.Linq.Enumerable.FirstOrDefault [TSource](IEnumerable`1 source,Func`2谓词) at Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath(IServiceProvider services,String installationPath,IInstance instance,IQuery query) at Microsoft.VisualStudio.Setup.Engine.Install(Product product,String destination,CancellationToken token)Unterminated string。预期的分隔符:"。 Path'package [316] .id',第1行,第52853位。
任何帮助将不胜感激
解决方案
您好Lite5h4dow,
感谢您在MSDN论坛发帖
请导航至路径:
%ProgramData%\ Microsoft &\\VisualStudio \Packages_Instances \< instance> 其中"实例"是一个8个字符的十六进制字符串
重命名或删除文件。
之后,确保Windows更新是最新的,清理%temp%文件夹并暂时禁用任何防病毒软件,重新启动计算机并从下载网络安装程序 https:// www。 visualstudio/downloads/ 再次以管理员 重新运行VS 2017 RTM安装程序。
最佳问候,
I downloaded the install file and attempted to install, however, no matter what I try I keep getting the same error the error log is as follows
[7744:0021][2017-03-18T13:20:57] Error 0x80131500: at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote) at Newtonsoft.Json.JsonTextReader.ParseString(Char quote, ReadType readType) at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) at Newtonsoft.Json.JsonTextReader.ReadAsString() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader) at Microsoft.VisualStudio.Setup.Serialization.ModelSerializer`1.Deserialize(TextReader reader) at Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance() at Microsoft.VisualStudio.Setup.Cache.CacheRepository.<GetInstances>d__27.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath(IServiceProvider services, String installationPath, IInstance instance, IQuery query) at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)Unterminated string. Expected delimiter: ". Path 'packages[316].id', line 1, position 52853.
any help would be greatly appreciated
解决方案
Hi Lite5h4dow,
Thank you for posting in MSDN forum
Please navigate to path:
%ProgramData%\Microsoft\VisualStudio\Packages_Instances\<instance> where "instance" is an 8 character Hex string
Rename or delete the file.
After that, make sure windows update is up-to-date, clean up the %temp% folder and temporarily disable any antivirus software, reboot the computer and download a web installer from www.visualstudio/downloads/tore-run the VS 2017RTM installer as administrator again.
Best Regards,
更多推荐
Visual Studio社区无法安装(安装操作失败)
发布评论