Applies to: Visual Studio Visual Studio for Mac Visual Studio CodeYou can evaluate a free trial of Visual Studio Professional or Visual Studio Enterprise for 30 days. And if you sign in, you can extend the trial period to 90 days. (Visual Studio Community doesn't require you to sign-in. However, if the installation prompts you to sign-in periodically, sign in to continue using Visual Studio Community without interruptions.) To continue using Visual Studio after a trial period ends, unlock it with an online subscription or a product key.
Important Visual Studio automatically looks for associated online subscriptions when you connect to an Azure DevOps organization from the Team Explorer tool window. When you connect to an Azure DevOps organization, you can sign in using both Microsoft and work or school accounts. If an online subscription exists for that user account, Visual Studio will automatically unlock the IDE for you. For more information about Visual Studio subscriptions and how they work, see the Subscriptions Support FAQ page. Enter a product key
Tip Pre-release versions of Visual Studio do not have product keys. You must sign in to the IDE to use pre-release versions. For more information about Visual Studio product keys for Visual Studio and how to get them, see the Using product keys in Visual Studio subscriptions page. You might see a message in Visual Studio that says, "Your license has gone stale and must be updated." This message indicates that while your subscription might still be valid, the license token that Visual Studio uses to keep your subscription up to date hasn't been refreshed. Visual Studio reports that the license is stale because of one of the following reasons:
Before the license token goes stale, Visual Studio first shows a warning message that asks you to reenter your credentials. If you do not reenter your credentials, the token starts to go stale and the Account Settings dialog tells you how many days you have left before your token expires. After your token expires, you must reenter your credentials for the account before you can continue using Visual Studio.
Important If you are using Visual Studio for extended periods in environments with limited or no internet access, you should use a product key to unlock Visual Studio to avoid interruption. If your subscription has expired and you no longer have access rights to Visual Studio, you must renew your subscription or add another account that has a subscription. To see more information about the license you are using, go to File > Account Settings and look at the license information on the right side of the dialog. If you have another subscription associated with a different account, add that account to the All Accounts list on the left side of the dialog box by selecting the Add an account link. Get supportSometimes, things go wrong. If you experience a problem, here are some support options: See also |