I get error message AppRecording not found in namespace Windows.Media!

MG Bhadurudeen 626 Reputation points
2020-06-17T07:59:25.18+00:00

when used this: using Windows.Media.AppRecording;
Minversion of my UWP project is: 18362

I get error message AppRecording not found in namespace Windows.Media! Where am I doing wrong?

10124-apprecording-not-found.png

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Richard Zhang-MSFT 6,936 Reputation points
    2020-06-17T08:16:16.807+00:00

    Hello,

    Welcome to Microsoft Q&A!

    AppRecording is an API namespace in the desktop extension, which is limited to the desktop version of UWP. If you want to use this API, you need to add a desktop SDK extension.

    You can add Windows Desktop Extensions for UWP (your sdk version) in your project (You can check this document), after that, you can use the related API.

    Thanks.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.