VS 2017中的大型XML文件15.1
发布时间:2020-12-16 07:43:57 所属栏目:百科 来源:网络整理
导读:我被告知…… ‘sms-20170225122824.xml’ is too large to open with XML editor. The maximum file size is ’10’ MB. Please update the registry key ‘HKCUSoftwareMicrosoftVisualStudio15.0_65fa8ce7_ConfigXmlEditorMaxFileSizeSupportedByLa
我被告知……
密钥15.0_65fa8ce7_Config不仅不存在,所以我手动创建它(加上子密钥)但是MaxFileSizeSupportedByLanguageService是什么类型的? 为什么它不存在呢?
这是一个小型的PowerShell,可以为所有用户完成这项工作
$vsWherePath = Join-Path ${env:ProgramFiles(x86)} "Microsoft Visual StudioInstallervswhere.exe" $installPath = &$vsWherePath -all -latest -property installationPath $vsregedit = Join-Path $installPath 'Common7IDEvsregedit.exe' & $VsRegEdit set "$installPath" "HKLM" "XmlEditor" "MaxFileSizeSupportedByLanguageService" string 100 如果用户配置单元中已有设置,您可以删除它们或在用户级别设置值 – 这也不需要管理员权限: $vsWherePath = Join-Path ${env:ProgramFiles(x86)} "Microsoft Visual StudioInstallervswhere.exe" $installPath = &$vsWherePath -all -latest -property installationPath $vsregedit = Join-Path $installPath 'Common7IDEvsregedit.exe' & $VsRegEdit set "$installPath" "HKCU" "XmlEditor" "MaxFileSizeSupportedByLanguageService" string 100 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |