locked
Error when creating app package RRS feed

  • Question

  • hello

    when I try to create app packagefor the store i get the following error:

    Manifest validation error: Line 34, Column 55, Reason: The file name "MainPage.xaml" declared for element "m:Applications/m:Application/m:Extensions/m:Extension" doesn't exist in the package.

    I cannot find what that means line 34 is the last line of the Package.appxmanifest am I missing something.

    Sunday, November 17, 2013 2:28 PM

Answers

  • Remove the StaetPage argument from your extension. That is used for HTML pages only, not for Xaml. We've requested the documentation and manifest editor clarify this.

    --Rob

    Sunday, November 17, 2013 4:01 PM
    Moderator

All replies

  • my extensions look like this
    <Extensions>
            <Extension Category="windows.backgroundTasks" StartPage="MainPage.xaml">
              <BackgroundTasks>
                <Task Type="audio" />
              </BackgroundTasks>
            </Extension>
          </Extensions>


    Sunday, November 17, 2013 2:34 PM
  • Remove the StaetPage argument from your extension. That is used for HTML pages only, not for Xaml. We've requested the documentation and manifest editor clarify this.

    --Rob

    Sunday, November 17, 2013 4:01 PM
    Moderator
  • Thank you then I need to use Entry Point instead what will i have to set that as?
    Sunday, November 17, 2013 8:36 PM
  • because it then gives the following error when i just remove it.

    Error 1 App manifest must define either start page or entry point for application contract 'windows.backgroundTasks'. 

     

    Sunday, November 17, 2013 8:51 PM
  • Ahh just needed to set it to the class of the page.. My mistake. :-)
    Sunday, November 17, 2013 8:55 PM