I'm working on Windows Phone 8.1 RT and I want to check if a particular folder/file exists or not in a StorageFolder
. The documentation is defined here, but I'm surprised to find that I don't have access to that method. The method doesn't show up in the Windows.Storage
namespace, and Visual Studio won't compile!
How do I resolve this? Does the method no longer exist? I think this is an issue with my app only; how do I work it out?
No, that method isn't supported on Windows Phone 8.1, apparently.
The key is to look at the "Requirements (Windows 8.x and Windows Phone 8.x)" section at the bottom of the docs, which shows:
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Minimum supported phone None supported
See more on this question at Stackoverflow