Packaging Microsoft Surface App for Deployment

After months of development I finally got around to packaging up my app for deployment in user mode on the Surface.  I did run into a couple of minor hurdles at first which I will share with you, and tell you how I got around them.  First of all, check out the documentation on the Microsoft Surface community site and the SDK.  In your root app directory you will see a file like myapp.xml which is generated by visual studio for you.

The following code example shows the default XML file.

<?xml version="1.0" encoding="utf-8" ?>

Notice in the <ExecutableFile> element, how it has “SurfaceApplication.exe” as the value?
It should really look like this:

%ProgramFiles%\Microsoft Surface\SurfaceApplication\SurfaceApplication.exe
The urls in your other elements like the previewIcon should follow the same format. Hopefully, this helps some people out.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: