此计算机上没有开发人员许可证

时间:2015-09-16 05:10:19

标签: c# powershell visual-studio-2012 licensing

我试图按照http://blogs.msdn.com/b/spike/archive/2013/05/20/how-to-deploy-your-windows-store-app-to-surface-rt-for-testing.aspx的说明进行操作。我有一个旧的WinRT表面平板电脑和一个Windows 8笔记本电脑与Visual Studio版本2010年,2012年& 2013。 显然,我需要在平板电脑上以管理员模式运行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.

所以我很困惑。我假设我写了#34; Hello World"作为一个Windows应用商店应用程序并将其部署到我的平板电脑上进行试用。显然,在获得许可之前,它不会在平板电脑上运行吗?我如何获得许可证?此平板电脑太小,无法运行Visual Studio。

由于

齐格弗里德

1 个答案:

答案 0 :(得分:0)

获取开发者许可证的命令是

Show-WindowsDeveloperLicenseRegistration

当在Powershell中运行时,会打开一个对话框,其中包含有关如何获取开发人员许可证的信息。

https://technet.microsoft.com/en-us/library/jj657535.aspx

相关问题