3

In my UWP app I'm trying to get an access to Portable Devices (MTP,PTP) storage.

In the following question the OP used the namespace Windows.Devices.Portable without problems. Here.

But in my case: enter image description here

Windows.Devices contains no Portable class

Community
  • 1
  • 1
Kinani
  • 484
  • 1
  • 4
  • 19

1 Answers1

4

I managed to figure it out. The namespace Windows.Devices.Portable lives in the Windows Desktop Extensions for the UWP.

So, all you need to do is to reference the extension.

Kinani
  • 484
  • 1
  • 4
  • 19