Search code examples
windows-runtimewinrt-xamlwindows-storewinrt-async

Link with ms-windows-store: navigates to music player instead Windows Store


I am developing Universal App. One of my buttons should navigate user to store page for reviewing the app. I have following code:

void BtnRate_Tapped(object sender, TappedRoutedEventArgs e)
    {
        Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:reviewapp"));
    }

According to Dev Center this link navigates to review page of current app. For me, any link starting with ms-windows-store opens in music player in Windows Phone and leads to error page in Windows. Why is that? Does anyone hint how to fix that? Thanks in regards for any hint


Solution

  • For this to works, you have to :

    • Associate the app with the Store,
    • Have at least a version of the app published/available through the store.

    I highly recommend you to use the version providing the appid :

    ms-windows-store:reviewapp?appid=[app ID]
    

    Regards