你如何在表面上运行程序? [英] How do you run the program on surface?

查看:79
本文介绍了你如何在表面上运行程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在visual studio上为应用程序编写了应用程序。


如何部署此应用程序以便我可以在表面上运行它?


我是否只是使用电缆拖放?


我是Surface开发的新手,我有机会这样做在大学SUR40。


有人可以一步一步地告诉我吗?



非常感谢你事先。


Somang

解决方案

你好,


为了使tyou app在表面Shel下工作,你需要将你的应用程序注册到表面shell。

为了注册你的应用程序,当你创建一个表面项目模板时,你有一个XML文件定义您的应用程序的Metada。
如果您已将应用程序作为单个文件副本分发​​给客户而不是您需要在客户设备上提供的真实安装程序,则需要b $ b:



    • 要求您的客户复制您感染的文件d他在专用文件夹名称中,例如MyApp。此文件夹应包括项目期间构建的所有文件以及潜在参考
    • 从该文件夹中,您将拥有一个名为< YourapplicationName> .XML
    • 的文件右键单击该文件并选择"发送到桌面快捷方式"
    • 将创建的快捷方式从桌面复制到文件夹C:\ programg \\ _Microsoft \Surface \V2.0

在Surface模式下启动Surface并显示应用程序


有关更多信息,请参阅
msdn


当然最好的方法是使用应用程序安装程序自动执行操作


标记为答案,点击"有用",如果它有帮助


问候


哔叽


Hi,

I wrote the app on visual studio for surface.

How do I deploy this application so that I can run it on surface?

Do I just drag and drop using cable?

I am new to Surface development and I got a chance to do it on University SUR40.

Can someone please advise me step by step?

Thank you so much in advance.


Somang

解决方案

Hello,

In order tyou app works under surface Shel, you need to register you application to surface shell.
For registering you application, when you create a surface project template you have an XML file which define Metada of your application.
if you have distributed your application to your customer as a single copy of file instead of a real installer you need to provide as follow at your customer device :

    • Ask your customer to copy files you send him in a dedicated folder names for instance MyApp. This folder should include all files build during your project as well as potential reference
    • From that folder, you will have a file which is named as <YourapplicationName>.XML
    • Right click that file and select Send To Desktop Shortcut
    • Copy that created shortcut from desktop to Folder C:\programData \Microsoft\Surface\V2.0

Start Surface in Surface mode and you app should appears

For more information refer to msdn

of course the best approach is to use an application Installer to do things automatically

Thnaks to mark as answer, and click on Helpfull if it helsp

regards

serge


这篇关于你如何在表面上运行程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆