注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

分享,态度 ·~~

—— 十年太长,五年;如果可以回到五年前,你最想对那时候的自己说什么?

 
 
 

日志

 
 

关于Windows8 预览版到期的问题  

2012-05-16 16:19:23|  分类: Windows 8 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

Windows8先后发布了开发者预览版和消费者预览版,都有一定的使用期限,当期限超过时,会导致证书失效从而无法安装生成的app。MSDN给出了两个解决方案:

1、使用Visual Studio来注册。如果你是开发者,安装的Visual Studio 11在到期后会提醒你重新获取证书,系统也可以正常安装app,这个方案不详细说明了。

2、使用PowerShell命令行重新注册证书。PowerShell是MS开发用于替代CMD的强大命令行工具。具体方法如下(MSDN原文):

If you aren’t using Visual Studio 11 Beta, you can acquire and manage developer licenses at a command prompt by running the following cmdlets in PowerShell:
 ? Show-WindowsDeveloperLicenseRegistration. This command opens a dialog box from which you can acquire a developer license and install it on the local machine. You must run this cmdlet in a command prompt with elevated permissions.
 ? Get-WindowsDeveloperLicense. This command returns an object that has two the ExpirationTime and IsValid properties. ExpirationTime is a System.DateTime structure that contains the date and time when the license will expire. IsValid is a System.Boolean structure that indicates whether the license is valid. You can run this cmdlet from either a default command prompt or a command prompt with elevated permissions.
 ? Unregister-WindowsDeveloperLicense. This command warns you that some Metro style apps will stop working if you remove the developer license from the local machine,. If you choose "Yes" (the default) to confirm that you want to remove the license, the license is removed from the local machine. You must run this cmdlet in a command prompt with elevated permissions.

To run any of these cmdlets, you must have a valid Windows Live ID.
The following examples show the basic PowerShell syntax:

C:\PS> Show-WindowsDeveloperLicenseRegistration
C:\PS> Get-WindowsDeveloperLicense
C:\PS> Unregister-WindowsDeveloperLicense

MSDN相关文章:<Getting a developer license for Windows 8 Consumer Preview>

【本文链接:http://zwkufo.blog.163.com/blog/static/2588251201241641640603/
  评论这张
 
阅读(2022)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017