In my team we have a project with a very long path. When I try to compile the solution of the project in a Visual Studio-Build task, we get the error:
error MSB4184: The expression "[MSBuild] :: NormalizePath (path)" cannot be evaluated. The path "path" exceeds the maximum path limit of the operating system. The fully qualified file name must be less than 260 characters.
We use self-hosted agents. I try to fix this issue with Enable Long Paths in Windows 10 and add a dword FileSystem LongPathsEnabled
to the agent registry. Unfortunately the issue still occurs, what can I do to solve?