Since MarketplaceSearchTask is deprecated in windows phone 8.1 i searhed for new api to launch webpage in a browser and to open marketplace. According to the internet
Task.Run(async () =>
{
await Windows.System.Launcher.LaunchUriAsync(new Uri(“https://www.facebook.com/alienated2/”));
}).Wait(); and Task.Run(async () =>
{
var uri = new Uri(string.Format(@“ms-windows-store:search?keyword={0}”, “ebondust”));
await Windows.System.Launcher.LaunchUriAsync(uri);
}).Wait(); should work. But for some reason im getting acces is denied error when trying to execute this commands and cant find out why. Does anyone have any idea how to fix it or achieve this functionality in monogame some other way?
google’s first result for LaunchUriAsync acces denied