DevOps Zone is brought to you in partnership with:

Dave Isbitski is a Technology Evangelist with Microsoft focused on Windows 8. He enjoys talking about technology and has taught full-day courses on numerous Microsoft topics as well as being a presenter at VSLive!, ReMix, XAMLFest, CodeCamps and other community events. Dave can be found on Twitter at @TheDaveDev and his blog http://blogs.msdn.com/davedev. David is a DZone MVB and is not an employee of DZone and has posted 9 posts at DZone. You can read more from them at their website. View Full User Profile

Package Deployed for Dev or Authoring Mode Error in Windows App Cert Kit

02.22.2013
| 1972 views |
  • submit to reddit

If you are getting this error message when running the Windows App Certification Kit, don’t panic!

This package was deployed for development or authoring mode. Uninstall the package and re-install it normally. 

WACK Error

This means you have a Windows Store app written in JavaScript that you deployed locally through Visual Studio instead of as a package.  In order to properly test a JavaScript Windows Store app the  Byte code generation should be able to complete successfully.  In order to enable this the package must be installed normally as follows:

In Visual Studio 2012 select the Project,  right click, open the Store Menu and choose Create App Packages.  If you are using the Express version of Visual Studio 2012 you will have a Store Menu on your Visual Studio Menu already.

Create Store Package

Select the option to not upload to the Windows Store.  This will create a local package you can use for testing on your own machine or give to other developers to test.

Local Package

Choose all of the defaults and then open the folder to the generated binaries with the link it provides.

Install Package

You will want to run the provided PowerShell script (.ps1 extension) and follow the prompts.  This will install the package locally into your Windows Store App location and apply the generated developer certificate.

Successful Bytecode generation!

Congrats!  You can now run the WACK Tool successfully as well as other developers who may want to test your app for you.

Published at DZone with permission of David Isbitski, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)