AntonioIliev-0028 avatar image
0 Votes"
AntonioIliev-0028 asked RobCaplan edited

StorageFolder.GetFilesAsync() is not working in ARM 64 architecture


I have a problem specific to Windows.Storage build for ARM64. Tested on x86 with no sight of any kind of problems.

Here is the problem: The GetFilesAsync method returns an empty collection without considering the presence of files in the specified 'KnownFolders' directory. When the method GetFileAsync() was used to load an existing file in the same 'KnownFolders' directory the result was correct. And again this only applies to ARM64 build.

My setup is:
UWP Visual Studio template.
Target version 1903, Build 18362.
HoloLens 2 device

Thank you for any suggestions in advance.

· 4
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.

@Antoniolliev-0028 We are consulting other engineers for your question. There may be some delay.

1 Vote 1 ·

Thank you very much for your time.
Мeanwhile I sent a StackOverflow question as you suggested.

0 Votes 0 ·

@Antoniolliev-0028 After my test, the code works well on PC, it may be related to the HoloLens devices. You could ask this issue on StackOverflow with Hololens tag,

1 Vote 1 ·

Hi AryaDing,
Thank you for checking this issue, and for the tag suggestion.
Have a nice day.

0 Votes 0 ·

0 Answers