1. 程式人生 > >Visual Studio 2017 IDE之xml過大報錯

Visual Studio 2017 IDE之xml過大報錯

copyto bsp rac strong pla 技術 ack http source

技術分享圖片

語料處理時遇到這個錯誤

在命令行中輸入

[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

Visual Studio 2017 IDE之xml過大報錯