Signing in to C# Dev Kit

In this article, you'll learn:

You can also get subscription support and can search the FAQ to find answers to common support questions about subscriptions, accounts, and billing.

Sign in with a Microsoft or organizational account

  1. Launch Visual Studio Code. When the C# Dev Kit extension is activated for the first time, you'll be asked to sign in via a toast notification.

Sign-in notification

Alternatively, you can also go to the Accounts button in the Activity bar to sign in.

Sign-in with the Account button

  1. Once you start the sign in process, the browser will open, and you'll be able to use your Microsoft or your organizational (Work or School) account to sign in.

Note: While sign in is not required or enforced by the extension, you might need to sign in using your Visual Studio account to comply with the EULA requirements for the C# Dev Kit extension.

Verifying your Visual Studio subscription status

After you sign in to use the C# Dev Kit extension, the Status bar icon might change depending on the status of the Visual Studio subscription associated with the account. If you haven't signed in or sign in using an account that does not contain a valid Visual Studio subscription, you'll see the following icon and tooltip message on the icon:

Invalid Visual Studio subscription

If you sign in with an account that has a valid Visual Studio subscription, the Status bar icon and its associated tooltip will change as follows:

Successful Visual Studio subscription sign-in

You can also view your Visual Studio subscription information by clicking on the Status bar icon.

Visual Studio subscription information

Note: Using the C# Dev Kit extension on a Microsoft Dev Box or GitHub Codespace environment will automatically grant you with entitlements for C# Dev Kit regardless of the sign in status.

How to sign out

You can sign out by going to the Accounts button in the Activity bar. Once there, select the desired account and select sign out.

Sign out of Visual Studio subscription

Troubleshoot sign in issues

Unable to retrieve a license

If you are not able to retrieve a license after a successful sign in operation, you'll likely need to modify your firewall settings by adding the URL below to its allowlist:

https://api.subscriptions.visualstudio.microsoft.com/Me/Entitlements/IDEBenefits