Visual Studio 2017 IDE之xml过大报错

XML处理时遇到这个错误

在powershell中输入

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

显示

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

posted @ 2018-03-31 12:08  沙耶  阅读(654)  评论(0编辑  收藏  举报