question

DimpalKataniya-2693 avatar image
0 Votes"
DimpalKataniya-2693 asked RoyLi-MSFT commented

Long path enable feature for UWP applications

Hello, Long path enable feature is working for win32 application but this is not working for uwp(x64) application on my machine. Is there any other way to make it work ?

windows-uwp
· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Noted your question is more related teh UWP application developing, i have changed the tag to Windows-UWP for experts there to take care of this thread.

Thanks,
Jenny

1 Vote 1 ·

It will be better if you could give me more details about your scenario. What behavior did you get? Is there an issue when you trying to access a file using a very long path?

0 Votes 0 ·

Yes, I have enabled the long path from Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem.
But when I build my UWP application in visual studio 2019 with configuration Release and platform x64, I am getting the below error.


LOGGERBASEDEXECTASK : ILC error ILC1304: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.


0 Votes 0 ·
RoyLi-MSFT avatar image RoyLi-MSFT DimpalKataniya-2693 ·

Thank you for your information. One more question, could you please share the code about the APIs that you are using to access the file?

0 Votes 0 ·
Show more comments

0 Answers