0
点赞
收藏
分享

微信扫一扫

Windows解除LongPath限制: Could not find a part of the path “xxxxx“


在Visual Studio中跑NuGet指令下载某些package, 提示:

Could not find a part of the path "xxxxx"

Windows解除LongPath限制: Could not find a part of the path “xxxxx“_文件路径

看上去是一个很长的文件路径,系统不支持了。

可以通过修改注册表解除这个路径长度限制:

Windows解除LongPath限制: Could not find a part of the path “xxxxx“_文件路径_02

 Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

LongPathEnabled项的值设为1

重新下载package成功,说明路径长度限制已经解除。

举报

相关推荐

0 条评论