从同事那拷来了windows8 CP的VHD,昨天休息一天,今天再次打开visual studio 2011 beta编译程序时居然提示:

DEP0730 : Registration of the application failed because no Developer License is installed。

意思是需要开发授权才能编译程序,并弹出一个获取授权的窗口,可是输入msn账号却失败,折腾了一个小时。

 

在网上搜了很多文章,也并没有解决问题

http://connect.microsoft.com/VisualStudio/feedback/details/728710/failed-to-get-developer-license-for-visual-studio-11-beta-both-express-and-ultimate-sku-on-machines-upgraded-from-windows-7

http://social.msdn.microsoft.com/Forums/zh-HK/vssetup/thread/8c82f576-5917-43e3-923a-94b1f015fa41

 

后来把vhd拷到另一台电脑上,右下角有提示需要激活windows8,于是输入自己的msn账号激活,再次打开vs2011去激活,这下子成功了。

 

官网上对于开发者授权是这样描述的:

开发者账号是免费的,可以调试程序,但是最好有一个store账号

有三个关于licence的powershell命令:

C:\PS> Show-WindowsDeveloperLicenseRegistration  //安装licence
C:\PS> Get-WindowsDeveloperLicense        //查看过期时间
C:\PS> Unregister-WindowsDeveloperLicense    //卸载licence

相关文章:

  • 2021-12-17
  • 2021-09-30
  • 2021-11-14
  • 2021-08-19
  • 2021-09-26
  • 2021-11-16
  • 2021-11-11
  • 2021-07-15
猜你喜欢
  • 2022-01-16
  • 2021-11-08
  • 2021-06-06
  • 2021-11-22
  • 2021-08-19
  • 2022-02-09
  • 2021-10-21
相关资源
相似解决方案