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" ?> <ss:ApplicationInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ss="http://schemas.microsoft.com/Surface/2007/ApplicationMetadata"> <Application> <Title>SurfaceApplication</Title> <Description>SurfaceApplication</Description> <ExecutableFile>SurfaceApplication.exe</ExecutableFile> <Arguments></Arguments> <IconImageFile>Resources\icon.png</IconImageFile> <Preview> <PreviewImageFile>Resources\iconPreview.png</PreviewImageFile> </Preview> </Application> </ss:ApplicationInfo>
Notice in the <ExecutableFile> element, how it has “SurfaceApplication.exe” as the value?
It should really look like this:
The urls in your other elements like the previewIcon should follow the same format. Hopefully, this helps some people out.