locked
Question on the Metro Application of release.

    Question

  • I have written a Metro application completed, But when it is published in the packaging error occurred.

     

    run \app\Packages\***.0.0.0.1_AnyCPU_Debug_Test\Add-AppxDevPackage.bat

     

    Thursday, October 6, 2011 10:53 AM

Answers

  • It looks like you already have that app installed (probably developing on the same machine?).

    Start powershell and then type this to load the appx namespace: import-module appx

    Then list what you have installed and look for your application: get-AppxPackage

    You will want to copy the PackageFullName and use it in the next step (in my case I am removing this app  microsoft.sdksamples.workingwithdatasourc_1.0.0.0_x86_neutral_8wekyb3d8bbwe).

    Next type this to remove your app (but use your PackageFullName and not the one I show here):  

    Remove-AppxPackage microsoft.sdksamples.workingwithdatasourc_1.0.0.0_x86_neutral_8wekyb3d8bbwe


    Jeff Sanders (MSFT)
    Thursday, October 6, 2011 12:17 PM
    Moderator