Large XML Files in VS 2017 15.1

They tell me ...

'sms-20170225122824.xml' is too large to open the XML editor. The maximum file size is 10 MB. Update the registry key 'HKCU \ Software \ Microsoft \ VisualStudio \ 15.0_65fa8ce7_Config \ XmlEditor \ MaxFileSizeSupportedByLanguageService' to change the maximum size.

The key 15.0_65fa8ce7_Config

doesn't exist, so I created it manually (plus sub-keys), but what type MaxFileSizeSupportedByLanguageService

?

And why doesn't it exist yet?

Registry

+3


source to share


2 answers


Here's a small manpower to get the job done



$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

      

+4


source


In Visual Studio 2015, you can find the registry key MaxFileSizeSupportedByLanguageService

in 14.0_Config\XmlEditor

strings like ( REG_SZ

).

Not sure if this will work with VS 2017. According to the Microsoft doc: "To perform a low impact installation of Visual Studio which also supports side-by-side, we no longer store most of the configuration data in the system registry ..." (source)



Edit: Check out this answer for how to update registry settings for Visual Studio 2017: fooobar.com/questions/279866 / ...

+3


source







All Articles