Get a developer license for windows store app

來源:互聯網
上載者:User

標籤:

Developer licenses are free, and you can get as many as you need so that all your test machines have one. If you get one or more developer licenses by using a Microsoft account, you must renew them every 30 days. If you get one or more developer licenses by using a Store account, you must renew them every 90 days, and you might gain other advantages.

When you  run or debug an app  for the first time on a remote machine or on a device that’s directly connected to your development machine, you‘re prompted to download a separate developer license for that machine or device. You can‘t install a developer license on a machine remotely, so you must get the license by using the machine or device itself. After you install a developer license on that remote machine or device, you can install, run, and debug packages that  haven‘t been certified. The developer license on the remote machine doesn’t affect apps that the Store has already certified or desktop apps.

 

Get a developer license by using Visual Studio

When you run Microsoft Visual Studio     on your local machine for the first time, you‘re prompted to get a developer license. Read the license terms, and then choose the I Agree button. In the User Account Control (UAC) dialog box, choose the Yes  button to continue.

After you install a license on a local machine, you won’t be prompted again on that machine unless the license expires (or you remove it) and you try to run an uncertified  Store app or create a project. As long as you have a developer license that hasn‘t expired, you can run uncertified Store apps on your local machine by choosing the F5 key in Visual Studio or Blend for Visual Studio..

 

Note  Your domain administrator can configure your computer to obtain a developer license without  connecting to the Internet provided that your computer  meets certain requirements. See this section below about how to enable a computer to obtain a developer license without having to connect to the internet.Renew a developer license by using Visual Studio

You can renew a developer license whenever you‘re using the Visual Studio IDE. If you‘re using  Microsoft Visual Studio Express 2013 for Windows, choose Store, Acquire Developer License on the menu bar. If you‘re using a different version of Visual Studio, choose Project, Store, Acquire Developer License on the menu bar.

Get a developer license at a command prompt

If you aren’t using Visual Studio, you can get and manage developer licenses at a  command prompt by running these commands in Windows PowerShell:

  • Show-WindowsDeveloperLicenseRegistration. This command opens a dialog box from which you can get a developer license and install it on the local machine. To run  this command, you must have a valid Microsoft account. You also must run this command in a command prompt with elevated permissions.
  • Get-WindowsDeveloperLicense. This command returns an object that has two properties: ExpirationTime and IsValid. ExpirationTime is a System.DateTime structure that contains the date and time when the license  expires. IsValid is a System.Boolean that indicates whether the license is valid. You can run this command from a command prompt that doesn‘t have elevated permissions.
  • Unregister-WindowsDeveloperLicense. This command warns you that some 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 command in a command prompt with elevated permissions.
開啟PowerShell執行以下命令:
1(查看開發人員授權)  Show-WindowsDeveloperLicenseRegistration2(擷取開發人員授權)  Get-WindowsDeveloperLicense3(登出開發人員授權)  Unregister-WindowsDeveloperLicense

原文地址 : MSDN

Get a developer license for windows store app(轉)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.