简体   繁体   English

App Manifest认证失败

[英]Certification failed for App Manifest

Please help me to solve this error. 请帮助我解决此错误。 I have tried to rectify this error multiple times. 我已尝试多次纠正此错误。
I have upgraded a windows phone silverlight 8.0 to windows phone silverlight 8.1 and the application is deploying and working normally on my local device but it fails certification every time. 我已经将Windows Phone Silverlight 8.0升级到Windows Phone Silverlight 8.1,并且该应用程序正在本地设备上部署并正常运行,但是每次都无法通过认证。

Package.appxmanifest file code is Package.appxmanifest的文件代码为

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest">
 <Identity Name="20865PriyanshuMittal.MedicineReminder" Publisher="CN=30E3B959-D42F-4C3C-A527-4DAFDF42CD4B" Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="5fbbab69-e356-41ee-af0d-0a780eb96d7c" PhonePublisherId="D8D6EAF0-43F3-434D-AFAA-5870EB749E23" />
<Properties>
<DisplayName>Medicine Reminder</DisplayName>
<PublisherDisplayName>Priyanshu Mittal</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Prerequisites>
<OSMinVersion>6.3.1</OSMinVersion>
<OSMaxVersionTested>6.3.1</OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="x-generate" />
</Resources>
<Applications>
<Application Id="x5fbbab69ye356y41eeyaf0dy0a780eb96d7cx" Executable="AGHost.exe" EntryPoint="MainAsisst.xaml">
<m3:VisualElements DisplayName="Medicine Reminder" Square150x150Logo="Assets\SquareTile150x150.png" Square44x44Logo="Assets\Logo.png" Description="Medicine" ForegroundText="light" BackgroundColor="#464646" ToastCapable="false">
<m3:DefaultTile Square71x71Logo="Assets\SquareTile71x71.png">
        </m3:DefaultTile>
        <m3:SplashScreen Image="Assets\Splashscreen.png" />
        <m3:ApplicationView MinWidth="width320" />
        <!--Used in XAML Designer. DO NOT REMOVE-->
      </m3:VisualElements>
      <Extensions>
        <Extension Category="windows.backgroundTasks" EntryPoint="AgHost.BackgroundTask">
          <BackgroundTasks>
            <Task Type="systemEvent" />
            <Task Type="timer" />
          </BackgroundTasks>
        </Extension>
      </Extensions>
    </Application>
  </Applications>
  <Capabilities>
    <Capability Name="internetClientServer" />
    <DeviceCapability Name="location" />
  </Capabilities>
  <Extensions>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>AgHostSvcs.dll</Path>
        <ActivatableClass ActivatableClassId="AgHost.BackgroundTask" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
  </Extensions>
</Package>


**WMAppmanifest.xml file code**

<?xml version="1.0" encoding="utf-8"?>
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2014/deployment" AppPlatformVersion="8.1">
  <DefaultLanguage xmlns="" code="en-US" />
  <App xmlns="" ProductID="{5fbbab69-e356-41ee-af0d-0a780eb96d7c}" Title="Medicine Reminder" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="Priyanshu Mittal" Description="Medicine" Publisher="Priyanshu Mittal" PublisherID="{D8D6EAF0-43F3-434D-AFAA-5870EB749E23}" SDOptOut="false">
    <IconPath IsRelative="true" IsResource="false">Assets\images\searchsmall.png</IconPath>
    <Capabilities>
      <Capability Name="ID_CAP_NETWORKING" />
      <Capability Name="ID_CAP_MEDIALIB_AUDIO" />
      <Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />
      <Capability Name="ID_CAP_SENSORS" />
      <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
      <Capability Name="ID_CAP_MAP" />
      <Capability Name="ID_CAP_LOCATION" />
    </Capabilities>
    <Tasks>
      <DefaultTask Name="_default" NavigationPage="MainAsisst.xaml" ActivationPolicy="Resume" />
    </Tasks>
    <Tokens>
      <PrimaryToken TokenID="doc_cardToken" TaskName="_default">
        <TemplateFlip>
          <SmallImageURI IsRelative="true" IsResource="false">Assets\images\searchsmall.png</SmallImageURI>
          <Count>0</Count>
          <BackgroundImageURI IsRelative="true" IsResource="false">Assets\images\searchmedium.png</BackgroundImageURI>
          <Title>Medicine Reminder</Title>
          <BackContent>
          </BackContent>
          <BackBackgroundImageURI>
          </BackBackgroundImageURI>
          <BackTitle>
          </BackTitle>
          <LargeBackgroundImageURI IsRelative="true" IsResource="false">Assets\images\searchlarge.png</LargeBackgroundImageURI>
          <LargeBackContent />
          <LargeBackBackgroundImageURI IsRelative="true" IsResource="false">
          </LargeBackBackgroundImageURI>
          <DeviceLockImageURI>
          </DeviceLockImageURI>
          <HasLarge>True</HasLarge>
        </TemplateFlip>
      </PrimaryToken>
    </Tokens>
    <ScreenResolutions>
      <ScreenResolution Name="ID_RESOLUTION_WVGA" />
      <ScreenResolution Name="ID_RESOLUTION_WXGA" />
      <ScreenResolution Name="ID_RESOLUTION_HD720P" />
    </ScreenResolutions>
  </App>
</Deployment>

Have a look in this link from MSDN in the Platform appropriate files test section. 在“平台适当的文件测试”部分的MSDN中查看此链接

The important part to note is that you should compile your assemblies in Neutral. 需要注意的重要部分是您应该以Neutral编译程序集。 The easiest way to do so is to use Visual Studio package generation (right click windows phone project, then store, then create app package) and ensure you select Neutral after you reserve an app name. 最简单的方法是使用Visual Studio程序包生成(右键单击Windows Phone项目,然后存储,然后创建应用程序包),并确保在保留应用程序名称后选择“中性”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM