Can the Visual Studio IDE use long path names?

家住魔仙堡 提交于 2021-02-11 13:59:51

问题


I'm using VS 2017 on Windows 10 Enterprise build 1803

I ran into trouble with a project that is deeply nested in subfolders and then I remembered reading something about Windows 10 removing the limit on MAX_PATH. I found this link Naming Files, Paths, and Namespaces which suggests that a large number of Win32 API calls can optionally not be limited to MAX_PATH.

I tried both toggling the value in the policy and changing the value in the registry. After a reboot Visual Studio still refuses to make a project in a path longer than MAX_PATH. When you browse to make the new solution it brings up a dialog I'm looking at the list of API calls that are supposed to work with long paths and wondering just what the IDE or its tools are using that would preclude it from working? Did I not actually opt-in to long paths?

来源:https://stackoverflow.com/questions/53403580/can-the-visual-studio-ide-use-long-path-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!