locked
Store > Create App Package...get Exception

    Question

  • In Dev Preview you could right-click your Metro project(mine is HTML5), choose Store, choose Create App Package...

    Now in Consumer Preview with VS11 Beta you get this error.


    • Edited by Harlequin Tuesday, March 6, 2012 8:19 PM Add screenshot
    Tuesday, March 6, 2012 8:18 PM

Answers

  • Do you have two or more projects in the solution and at least one of them is unloaded? If so, it's issue # 1.3.3.5 in the Beta Readme. The workaround is to either reload or remove the unloaded project(s) and then start the Create App Package wizard again.

    To view the VS11 Beta readme, click on "Visual Studio 11 Beta Readme" on here: http://www.microsoft.com/visualstudio/11/en-us/downloads#express-win8

    • Marked as answer by Harlequin Wednesday, March 7, 2012 3:11 PM
    Wednesday, March 7, 2012 12:20 AM

All replies

  • Do you have two or more projects in the solution and at least one of them is unloaded? If so, it's issue # 1.3.3.5 in the Beta Readme. The workaround is to either reload or remove the unloaded project(s) and then start the Create App Package wizard again.

    To view the VS11 Beta readme, click on "Visual Studio 11 Beta Readme" on here: http://www.microsoft.com/visualstudio/11/en-us/downloads#express-win8

    • Marked as answer by Harlequin Wednesday, March 7, 2012 3:11 PM
    Wednesday, March 7, 2012 12:20 AM
  • Hello,

    to get more info on the above, could you try the following?

    1. Start VS 11 Beta.

    2. Start another instance of VS 11 Beta

    3. In the instance you started in step 1, go to Debug | Attach to process

    4. Select the devenv instance you started in step 2

    5. In the instance you started in step 2, open your Metro project

    6. Right click, select store, Create App Package...

    7. After you get the above dialog, go back to the debugger.  Do you see any exceptions in the output window (view | output)

    8. Also go to the modules window (Debug |windows|modules), did the modules Microsoft.VisualStudio.AppxPackage, Microsoft.VisualStudio.WizardFrameworkWpf.dll, or Microsoft.VisualStudio.Shell.11.0.dll get loaded?

    That will help me determine how far you are getting after executing the command.

    thanks!

    mike

    Wednesday, March 7, 2012 12:29 AM
    Moderator
  • Candy was right, we do have an unloaded project. Cheers =)
    Wednesday, March 7, 2012 3:12 PM
  • 7. No exceptions
    8. Yes they got loaded.

    I reproed what Candy suggested, removed the offending project(was old dev preview project that didn't load), and the Create App Package ran fine.

    Cheers

    Wednesday, March 7, 2012 4:04 PM