Visual Studio 2026 logoGemini support for Visual Studio 2026 and 2022

Use Gemini for C# and .NET in Visual Studio 2026 and 2022.

Connect the Google Gemini API to your Visual Studio 2026 and 2022 solution. Keep conversations, solution context, tool activity, and permissions in the same iolys workspace.

Visual Studio 2026 and 2022C#.NETAPI key

Provider access

BYOK: use your Google AI Studio API key

The Google Gemini provider connects through Google's OpenAI-compatible API endpoint. API access, quotas, and billing belong to your Google API account and are separate from consumer Gemini subscriptions.

API key

Gemini for .NET developers

Provider choice without workflow churn.

Best for: Code generation, explanation, debugging, and C# development with compatible Gemini models.

Gemini in Visual Studio 2026 and 2022

Use Gemini from the IDE where your C# solution is already open.

Use your API account

Access the models and API quotas available to your Google account.

Compare providers

Switch between Gemini and other providers in the same workspace.

Connect Gemini

Three steps to your first C# or .NET session in Visual Studio 2026 and 2022.

  1. 01

    Create an API key in Google AI Studio.

  2. 02

    Open Manage Providers in iolys, add Google Gemini, and enter the key.

  3. 03

    Test the connection and choose an available model for your Visual Studio 2026 and 2022 solution.

Gemini FAQ

Gemini and Visual Studio 2026 and 2022.

Visit the official Gemini website ↗
How can I use Gemini in Visual Studio for C#?

Install the iolys extension for Visual Studio 2026 or 2022 and open your C# solution. Create an API key in Google AI Studio. Open Manage Providers in iolys, add Google Gemini, and enter the key. Test the connection and choose an available model for your Visual Studio 2026 and 2022 solution. You can then ask Gemini to help with your C# and .NET code from the iolys workspace.

Is there a VSIX extension to use Gemini in Visual Studio?

Yes. iolys is a VSIX extension for Visual Studio 2026 and 2022, and Gemini is one of the provider connections it ships with. Install the iolys VSIX once from the Visual Studio Marketplace, then add Gemini from the Manage Providers panel; there is no separate VSIX per provider.

Does iolys integrate Gemini CLI?

No. The current Google Gemini connection uses an API key from Google AI Studio, not Gemini CLI or Google browser sign-in.

Do I need a Gemini API key?

Yes. Enter a Google AI Studio API key. A consumer Gemini subscription does not replace this API credential or include its API billing.

Can I use Gemini for C# and .NET?

Yes. Model capabilities such as tools, images, and reasoning depend on the selected model.

Use Gemini for C# and .NET without leaving Visual Studio 2026 and 2022.

Keep your active solution, provider access, and development workflow.

Get iolys for Visual Studio 2026 and 2022