简体   繁体   English

创建Windows应用商店应用程序

[英]Creating a Windows Store application

I am trying to make something like an Hello world application in C# just to test how does the Windows Store application development go. 我试图用C#制作类似于Hello world的应用程序,只是为了测试Windows Store应用程序的开发情况。 I have an laptop running Windows 8 on which I have installed Microsoft Visual Studio 2012 Professional. 我有一台运行Windows 8的笔记本电脑,上面已经安装了Microsoft Visual Studio 2012 Professional。 Since I am a student I got a free Developer Licence, but when I start Visual Studio I get a problem. 由于我是学生,所以我获得了免费的开发人员许可证,但是当我启动Visual Studio时遇到了问题。 When I click on new project and choose a blank XAML application, it starts to create the project and than asks me for the developer licence, all that I can do is click on accept (which needs to be approved by the admin account of the computer). 当我单击新项目并选择一个空白XAML应用程序时,它将开始创建该项目,然后问我要开发人员许可证,我所能做的就是单击接受(需要由计算机的管理员帐户批准) )。 After that it is still Creating the project, but that step never stops. 之后,它仍在创建项目,但是这一步永不停止。 Is there a problem with Visual Studio or is there something wrong with the developer licence? Visual Studio是否有问题,或者开发人员许可证有问题?

I don't get any error or something like that... it is just over half an hour in the "Creating project" step... 我没有收到任何错误或类似的信息...在“创建项目”步骤中仅花了半个多小时的时间...

To install a developer license on a machine, you will need elevated privileges (aka running as admin after a UAC prompt). 要在计算机上安装开发者许可证,您将需要提升的特权(也就是在UAC提示后以管理员身份运行)。
If you have admin rights in the machine and your VS is not installing license, try doing it from powershell by using the Show-WindowsDeveloperLicenseRegistration commandlet.. 如果您在计算机中具有管理员权限,并且您的VS没有安装许可证,请尝试使用Show-WindowsDeveloperLicenseRegistration Commandlet从Powershell进行操作。
You can read all about installing a developer license at: http://msdn.microsoft.com/en-us/library/windows/apps/hh974578.aspx 您可以在以下位置阅读有关安装开发人员许可证的全部信息: http : //msdn.microsoft.com/zh-cn/library/windows/apps/hh974578.aspx

Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM