This line
StorageFile photo = await cameraUI.CaptureFileAsync(CameraCaptureUIMode.Photo);
gives me this error:
Error CS0012
The type 'IAsyncOperation<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'Windows.Foundation.FoundationContract, Version=3.0.0.0, Culture=neutral,
How to fix it?
CameraCaptureUI
into .NET Standart DLL to use in WPF project. That is the issue. Any clue how to do it? – DmitryBoyko Apr 4 '19 at 4:54