Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MonoGame for VS CodeNew to Visual Studio Code? Get it now.
MonoGame for VS Code

MonoGame for VS Code

r88

|
10,977 installs
| (2) | Free
Better MonoGame integration for Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MonoGame for VS Code

MonoGame for VS Code streamlines the experience of using MonoGame in Visual Studio Code. It ports key features of the Visual Studio 2022 MonoGame extension to VSC, including:

  • Automatically install MonoGame templates
  • Create new projects from the file menu or command palette
  • Open the MGCB editor with the click of a button

Requirements

  • .NET SDK
  • C# Dev Kit

Quick Start

To create your first MonoGame project in VS Code:

  1. Install the .NET SDK and C# Dev Kit. Restart VS Code, then install this extension.
  2. Go to File > New File... > MonoGame: New Project.

New Project

  1. Choose a project template (if you aren't sure, choose Cross-Platform Desktop Application).
  2. Enter project name and directory.

You're good to go! Your new project will be created at the directory. The solution explorer (a feature from the C# Dev Kit) should appear in the sidebar, allowing you to build, run and debug your game:

Solution Explorer

To open the MGCB editor, click the MonoGame button in the editor title bar or search for MonoGame: Open MGCB Editor in the command palette.

MGCB Button

Templates are installed automatically the first time the extension is activated, but if you need to reinstall, you may use the MonoGame: Install command.

License

MIT © reflector88

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft