【发布时间】:2015-09-16 05:10:19
【问题描述】:
我正在尝试按照http://blogs.msdn.com/b/spike/archive/2013/05/20/how-to-deploy-your-windows-store-app-to-surface-rt-for-testing.aspx 的说明进行操作。我有一台旧的 WinRT Surface 平板电脑和一台装有 Visual Studio 版本 2010、2012 和 2013 的 Windows 8 笔记本电脑。 显然,我需要在平板电脑上以管理员模式运行 powershell 并发出以下命令:
Get-WindowsDeveloperLicence
这在我的笔记本上可以正常工作,它会弹出一个对话框,但在平板电脑上却不行。在平板电脑上显示
Get-WindowsDeveloperLicense : There is no developer license on this computer.
所以我尝试了
Show-WindowsDeveloperLicense
这在笔记本上也可以正常工作,但在桌子上却显示
Show-WindowsDevelopersLicense : The term 'Show-WindowsDeveloperLicense' is not recognized as the name of a cmdlet, function, script file or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
所以我很困惑。我假设我将“Hello World”编写为 Windows 商店应用程序并将其部署到我的平板电脑上进行试用。显然在我获得许可证之前它不会在平板电脑上运行?我如何获得许可证?此平板电脑太小,无法运行 Visual Studio。
谢谢
齐格飞
【问题讨论】:
标签: c# powershell visual-studio-2012 licensing