Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/assembly/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows runtime 与ms windows应用商店的链接:导航到音乐播放器而不是windows应用商店_Windows Runtime_Winrt Xaml_Windows Store_Winrt Async - Fatal编程技术网

Windows runtime 与ms windows应用商店的链接:导航到音乐播放器而不是windows应用商店

Windows runtime 与ms windows应用商店的链接:导航到音乐播放器而不是windows应用商店,windows-runtime,winrt-xaml,windows-store,winrt-async,Windows Runtime,Winrt Xaml,Windows Store,Winrt Async,我正在开发通用应用程序。我的其中一个按钮应该将用户导航到商店页面,以便查看应用程序。我有以下代码: void BtnRate_Tapped(object sender, TappedRoutedEventArgs e) { Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:reviewapp")); } 根据此链接导航到当前应用程序的查看页面。对我来说,任何以ms windows s

我正在开发通用应用程序。我的其中一个按钮应该将用户导航到商店页面,以便查看应用程序。我有以下代码:

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

根据此链接导航到当前应用程序的查看页面。对我来说,任何以ms windows store开头的链接都会在windows Phone的音乐播放器中打开,并导致windows中出现错误页面。为什么呢?有人提示如何解决这个问题吗?感谢您提供的任何提示

要使此功能正常工作,您必须:

  • 将应用程序与商店关联
  • 通过应用商店发布/提供至少一个版本的应用程序
我强烈建议您使用提供appid的版本:

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

关于

要使此功能正常工作,您必须:

  • 将应用程序与商店关联
  • 通过应用商店发布/提供至少一个版本的应用程序
我强烈建议您使用提供appid的版本:

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