I created extension for Visual-studio. When I build project in "Debug" mode I get error with message The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters
. But in "Release" mode it being build successfully.
In Debug mode project builds in folder by this path: "C:\Users\UserName\AppData\Local\Microsoft\VisualStudio\15.0_ed6a412fExp\Extensions\CompanyName\ProjectName\1.3 + all sub folder of project" in sum this path over 260 symbols.
I tried next options to solve this problem:
- I set enabled for "Win32 long path" in "local group Policy Editor" dialog.
- In file manifest of project I set next configuration
<application xmlns="urn:schemas-microsoft-com:asm.v3"> <windowsSettings xmlns:ws2="https://schemas.microsoft.com/SMI/2016/WindowsSettings"> <ws2:longPathAware>true</ws2:longPathAware> </windowsSettings> </application>
This steps have not been helped me. Can I solve current problem?
Thanks.