Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (260): C:\phpStudy\wordpress/wp-content/themes/wordstar/single-post-c%e7%aa%97%e5%8f%a3%e7%a8%8b%e5%ba%8f-%e8%a7%a3%e5%86%b3vs2019%e5%9c%a8win10%e6%98%be%e7%a4%ba%e6%af%94%e4%be%8b%e9%9d%9e100%e6%97%b6%e7%bb%84%e4%bb%b6%e7%9a%84%e9%87%8d%e5%8f%a0%e9%97%ae%e9%a2%98.php in C:\phpStudy\wordpress\wp-includes\template.php on line 634

Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (260): C:\phpStudy\wordpress/wp-content/themes/wordstar/single-post-c%e7%aa%97%e5%8f%a3%e7%a8%8b%e5%ba%8f-%e8%a7%a3%e5%86%b3vs2019%e5%9c%a8win10%e6%98%be%e7%a4%ba%e6%af%94%e4%be%8b%e9%9d%9e100%e6%97%b6%e7%bb%84%e4%bb%b6%e7%9a%84%e9%87%8d%e5%8f%a0%e9%97%ae%e9%a2%98.php in C:\phpStudy\wordpress\wp-includes\template.php on line 637

Warning: file_exists(): open_basedir restriction in effect. File(C:\phpStudy\wordpress/wp-includes/theme-compat/single-post-c%e7%aa%97%e5%8f%a3%e7%a8%8b%e5%ba%8f-%e8%a7%a3%e5%86%b3vs2019%e5%9c%a8win10%e6%98%be%e7%a4%ba%e6%af%94%e4%be%8b%e9%9d%9e100%e6%97%b6%e7%bb%84%e4%bb%b6%e7%9a%84%e9%87%8d%e5%8f%a0%e9%97%ae%e9%a2%98.php) is not within the allowed path(s): (C:\phpStudy) in C:\phpStudy\wordpress\wp-includes\template.php on line 640
C#窗口程序 解决VS2019在Win10显示比例非100%时组件的重叠问题 – 影子博客

在注册表HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers下添加字符串项:

这个按照自己的安装目录找Common7\IDE\devenv.exe

D:\Program Files (x86)\Microsoft Visual Studio\2019\Common7\IDE\devenv.exe

类型: REG_SZ

值: DPIUNAWARE

之后VS就默认工作区是100%显示了,可能会导致代码的模糊。

截图

转载自:https://www.cnblogs.com/Fpack/p/15704376.html

发表评论

邮箱地址不会被公开。 必填项已用*标注