An exception is given when trying to instanciate AppInstallManager() | UWP

2024-10-10T21:04:27.8733333+00:00

When i try to do this code "AppInstallManager appInstallManager = new AppInstallManager();" In UWP the follow exception is thrown :
User's image

the code above is on a class library project where is used by both WinUI and UWP projects. The same code works when used in WinUI

Universal Windows Platform (UWP)
{count} votes

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.