VS IDE之xml过大报错

语料处理时遇到这个错误

在命令行中输入

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

显示

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

 

posted @ 2018-03-24 14:18  fengmao31  阅读(86)  评论(0编辑  收藏  举报