问题
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