Visual Studio 2017 IDE之xml过大报错

XML处理时遇到这个错误

在powershell中输入

[csharp] view plain copy
 
  1. $vsWherePath = Join-Path ${env:ProgramFiles(x86)} "Microsoft Visual StudioInstallervswhere.exe"  
  2. $installPath = &$vsWherePath -all -latest -property installationPath  
  3. $vsregedit = Join-Path $installPath 'Common7IDEvsregedit.exe'  
  4. & $VsRegEdit set "$installPath" "HKLM" "XmlEditor" "MaxFileSizeSupportedByLanguageService" string 100  

显示

参考https://stackoverflow.com/questions/43889806/large-xml-files-in-vs-2017-15-1

原文地址:https://www.cnblogs.com/ShaYeBlog/p/8681642.html