语料处理时遇到这个错误
在命令行中输入
- $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