How to build an app in VS Code or Visual Studio (2026 guide)

Short answer
- Yes, you can build an app in VS Code. It’s a free code editor for Windows, macOS and Linux, and you add a framework such as Flutter, React Native (with Expo) or .NET MAUI to turn it into a phone app.
- Visual Studio is a different, heavier product. Visual Studio 2026 runs only on Windows 11 and Windows Server, and Visual Studio for Mac was retired on 31 August 2024.
- Visual Studio Community is free for individuals, and for non-enterprise organisations with up to 5 users. Professional is $45 a month on a monthly subscription.
- Building the iPhone version of any app needs a Mac with Xcode somewhere in the chain. Expo’s cloud builds run on Expo’s own Macs, which is the main way round that from Windows.
- Publishing costs the same whichever editor you use: $99 a year for the Apple Developer Program and $25 once for Google Play.
VS Code and Visual Studio share half a name and almost nothing else. People type “build app vscode” and “create an app using visual studio” as if they’re the same tool, then hit a wall at the first install screen because they picked the wrong one.
So this guide sorts that out first, then walks through actually creating an app in each, with the exact commands from the official docs. I checked every version, price and requirement on Microsoft’s, Flutter’s, Expo’s and Apple’s own pages on 6 December 2026.
It’s part of our bigger guide to how to create an app in 2026, which covers every route, including the ones with no code at all. If you’re not sure you want to write code, read that first. If you are, keep going.
Can you build an app in VS Code?
Yes. VS Code is a code editor (the program where you type and run code), and with the right extension it’ll build phone apps, web apps and desktop apps.
On its own, it doesn’t know how to make an iPhone or Android app. An extension is an add-on you install from inside VS Code, and the app-building ones each connect VS Code to a framework: a ready-made kit of code and tools for one kind of app. Flutter, React Native and .NET MAUI are the 3 big frameworks for phone apps, and all 3 have official VS Code support.
It’s also the editor most developers already use. In Stack Overflow’s 2025 developer survey, 75.9% of respondents said they used VS Code, against 29% for Visual Studio. So any tutorial, forum answer or AI assistant you lean on will probably assume VS Code.
The current release listed in the VS Code docs is 1.149. Microsoft’s pricing page describes VS Code as free, built on open source, and running on Windows, macOS and Linux.
What’s the difference between VS Code and Visual Studio?
VS Code is a light, free editor that runs everywhere and does almost anything through extensions. Visual Studio is Microsoft’s full Windows-only development suite, built around C# and .NET.
.NET is Microsoft’s free platform for running C# code, and C# is Microsoft’s main programming language. If those words mean nothing to you yet, that’s a strong hint you want VS Code.
| VS Code | Visual Studio 2026 | |
|---|---|---|
| What it is | Code editor, extended with add-ons | Full development suite with designers, debuggers and installers built in |
| Runs on | Windows, macOS, Linux | Windows 11 and Windows Server 2019, 2022, 2025 only |
| Price | Free | Community free (with limits), Professional $45 a month or $99.99 a month billed yearly |
| Phone apps | Flutter, React Native and Expo, .NET MAUI | .NET MAUI (C#) |
| Windows desktop apps | Better handled in Visual Studio | WinUI 3, WPF, Windows Forms |
| Games | Unity scripts through C# extensions | Unity |
Sources: Visual Studio 2026 system requirements, Visual Studio Community page, Visual Studio pricing, checked 6 December 2026.
Visual Studio is also heavy. Microsoft’s requirements page asks for 2.5 GB of disk space at minimum, says typical installs need 20 to 50 GB, and recommends 16 GB of RAM for typical professional work.
The big trap is Mac owners. Microsoft retired Visual Studio for Mac on 31 August 2024, and its retirement notice says it gets no more security fixes. The notice recommends VS Code on a Mac, or Visual Studio running in a Windows virtual machine. Lots of older tutorials still tell you to download it. Don’t.
Which kind of app can you build in VS Code or Visual Studio?
Phone apps, web apps, Windows desktop apps and games, but each needs a different framework, and the framework matters far more than the editor.
Here’s how the main options line up, using what each framework’s own docs say today.
| Framework | Language | Best editor | Builds for | Start command or step |
|---|---|---|---|---|
| Flutter 3.50 | Dart | VS Code (Flutter extension) | Android, iOS, web, Windows, macOS, Linux | Flutter: New Project, from the Command Palette |
| React Native 0.88 with Expo | JavaScript or TypeScript | VS Code | Android, iOS | npx create-expo-app@latest |
| .NET MAUI | C# | Visual Studio 2026 on Windows, VS Code elsewhere | Android, iOS, Windows, macOS | .NET Multi-platform App UI workload, or dotnet new maui |
| WinUI 3, WPF, Windows Forms | C# | Visual Studio 2026 | Windows | New project in Visual Studio |
| Plain web app | HTML, CSS, JavaScript | VS Code | Any browser | Open a folder and start typing |
Sources: Flutter install, React Native environment setup, Expo create a project, .NET MAUI installation, checked 6 December 2026.
If you’re picking between Flutter and React Native, that’s its own decision, and we compare them properly in React Native vs Flutter. For whether you want one codebase for both phones at all, see native vs cross-platform apps.
Not sure which row is yours? Answer 4 questions and the picker gives you the editor, the framework and the first thing to install.
Setup picker
Which VS Code or Visual Studio setup fits your app?
4 questions. You get the editor, the framework and the first command to run, based on Microsoft, Flutter, Expo and Apple documentation.
How do you create an app in VS Code, step by step?
Install VS Code, add the framework’s extension or tools, create a project from a template, then run it on an emulator or your own phone. An emulator is a pretend phone that runs on your computer screen.
Here are the 2 routes I’d point a beginner at, with the steps as their docs give them today.
Route 1: Flutter in VS Code
Flutter’s own install page marks “Install with VS Code” as the recommended route. The extension downloads the Flutter SDK (the bundle of tools Flutter needs), adds it to your system path and checks your setup.
- Install VS Code from code.visualstudio.com.
- Open the Extensions panel, search for Flutter and install it. The Flutter VS Code docs say this also installs the Dart extension.
- Open the Command Palette (Ctrl + Shift + P on Windows, Cmd + Shift + P on a Mac), type flutter and pick Flutter: New Project. Choose Application, a folder and a name.
- Pick a device from the bottom status bar. It shows “No Devices” until you plug in a phone or start an emulator.
- Press F5 to run with debugging. Change some code, then use Hot Reload on the debug toolbar to see it update without restarting.
For an Android emulator you’ll also want Android Studio, Google’s own Android development tool, even if you never write code in it. Flutter’s Android setup page has you tick the Android SDK tools and the Android Emulator in its SDK Manager, then create a virtual phone in its Device Manager. The download is about 1.5 GB on Windows and macOS.
Route 2: React Native with Expo in VS Code
If you already know some JavaScript, this is the shorter path. React Native’s environment setup page says that for a new app “we recommend using a Framework”, and it names Expo.
- Install VS Code and the LTS (long-term support) version of Node.js, the program that runs JavaScript outside a browser. Expo lists it as a requirement.
- Open VS Code’s built-in terminal and run npx create-expo-app@latest.
- Open the new folder in VS Code and run npx expo start.
- Scan the QR code it prints to open the app on your phone in Expo Go, Expo’s test app. If it won’t connect, Expo’s docs say to check your computer and phone are on the same Wi-Fi.
One honest caveat. Expo’s setup guide calls Expo Go “a playground app”, limited and not meant for production. For a real release you move to what Expo calls a development build. That’s normal, and you’ll get there after you’ve built something worth releasing.
A web app needs nothing extra
For a website or browser-based app, VS Code works straight out of the box. Its JavaScript docs say IntelliSense (the pop-up code suggestions) and debugging for Node.js, Edge and Chrome are built in.
That’s worth thinking about before you build a phone app. A lot of ideas work fine as a web app first, and our mobile app vs website guide helps you decide.
How do you create an app using Visual Studio?
Install Visual Studio 2026 on a Windows PC, tick the workload for the type of app you want, then start a new project from a template.
A workload is Visual Studio’s name for a bundle of tools for one job. You choose them in the Visual Studio Installer, and you can add more later without reinstalling.
A phone app with .NET MAUI
.NET MAUI is Microsoft’s framework for one C# app that runs on Android, iPhone, Windows and Mac. It replaced Xamarin, whose support ended on 1 May 2024, so skip any Xamarin tutorial you find.
- Download Visual Studio 2026 Community. Microsoft’s .NET MAUI install guide recommends 2026, though 2022 version 17.12 or later still works.
- In the installer, tick .NET Multi-platform App UI development and keep its default options.
- Create a new .NET MAUI App project and run it on Windows or the Android emulator.
The install guide says running your project on Android from Visual Studio sets up the Android SDK and an emulator for you, which saves a fiddly afternoon.
A Windows desktop app
This is where Visual Studio is at its strongest. The Community page lists WinUI 3, Windows Forms and WPF for Windows apps, all of them C#. If your app is an internal tool that lives on office PCs, this is the natural home.
A game
The same page lists games through Unity. Unity is the game engine, and Visual Studio is where you write and debug its C# scripts.
Can you build an iPhone app in VS Code or Visual Studio on Windows?
You can write the code on Windows, but the iPhone build itself has to happen on a Mac with Xcode, Apple’s own development tool. Every route in this guide hits that rule somewhere.
Microsoft’s .NET MAUI guide spells it out: to build, sign and deploy for iOS you need “a Mac that is compatible with Xcode”. Its table of what each computer can target is blunt:
| Your computer | .NET MAUI can build for |
|---|---|
| Windows | Windows, Android |
| macOS | Android, iOS, macOS |
| Linux | Android |
Flutter is the same story. Its iOS setup page runs through Xcode, and tells you to attach your iPhone “to the USB port on your Mac”.
There are 3 ways round it if you’re on Windows:
- Expo cloud builds. Expo’s build docs say iOS builds “run on macOS runners hosted in Expo’s macOS cloud”. You never touch a Mac.
- .NET MAUI hot restart. Microsoft’s guide says you can push debug builds from Windows straight to your own iPhone, with a paid Apple Developer Program membership. Fine for testing, though you’ll still need a Mac to build the store version.
- Borrow or rent a Mac for the final build and submission.
Testing on your own iPhone is free. Apple’s enrolment FAQ says you can install apps on your personal device with Xcode without joining the paid programme. You only need the $99 a year membership to distribute the app. Our Apple developer account guide walks through that sign-up.
Is Visual Studio free?
Visual Studio Community is free, with conditions. VS Code is free for everyone.
The pricing page FAQ says any individual can use Community to make free or paid apps. Non-enterprise organisations can have up to 5 users on it. An “enterprise” there means more than 250 PCs or more than $1 million a year in revenue, and those organisations can only use Community for open source, academic research and classroom learning.
| Edition | Price (as listed 6 Dec 2026) | Who it’s for |
|---|---|---|
| VS Code | Free | Anyone |
| Visual Studio Community 2026 | Free | Individuals, small teams up to 5, students, open source |
| Visual Studio Professional | $45 a user a month (monthly), or $99.99 a month billed yearly as a standard subscription | Teams outside Community’s limits |
| Visual Studio Professional standalone | $499 one-off, perpetual licence | People who want the software without subscription extras |
| Visual Studio Enterprise | $250 a user a month (monthly), or $499.92 a month billed yearly as a standard subscription | Large organisations |
Source: Visual Studio pricing and downloads page, checked 6 December 2026. Microsoft shows lower renewal prices after the first year of a standard subscription.
One catch for C# work in VS Code. The .NET MAUI extension installs C# Dev Kit, and its FAQ says it’s free for personal, academic and open-source projects and for commercial teams of up to 5 developers. Teams of 6 or more need a Visual Studio Professional subscription or higher. Flutter and Expo carry no such licence.
Can AI write the app for you in VS Code?
It can write a lot of it. VS Code now has AI agents built in, and the VS Code home page says you can use Copilot, Claude or Codex as the agent, with models from Anthropic, OpenAI, Google and others.
GitHub’s Copilot plans page lists a Free plan with 2,000 code completions a month and “limited chat and agent usage”. Pro is $10 a month.
Typing a request in plain English and letting AI write the code is what people call vibe coding, and we explain it fully in what is vibe coding. If you’re weighing the AI tools that sit around VS Code, our Cursor vs Claude Code comparison covers the 2 most popular.
I’ll be straight about where it goes wrong, because I’ve done it. I built a Subway Surfers clone with Claude Code in one evening, then got stuck, and I wrote up exactly where it fell over. The first version comes fast. The slow part is everything after it: signing, store rules, security and the last few bugs.
If you’ve got an AI-built app in VS Code that won’t build, won’t pass review or won’t behave, that’s the stage our developers pick up.
What does it cost to get from VS Code to the app stores?
The editor costs nothing, so your fixed costs are the store accounts: $99 a year for Apple and $25 once for Google.
Apple’s enrolment page lists the Developer Program at 99 USD a year, in local currency where available. Google’s Play Console help says “There is a US$25 one-time registration fee.”
Then there’s your time and kit. Visual Studio wants a capable Windows PC (Microsoft recommends 16 GB of RAM for typical professional work), and an iPhone build needs a Mac or a cloud build service. Our guide to publishing your app covers what happens after the build, from screenshots to review.
And here’s the honest bit. If your goal is an app for your business (bookings, loyalty cards, ordering, push notifications), learning Flutter or C# is the long way round. Those features already exist in our app builder, which publishes to the App Store, Google Play and the web without a code editor. It’s free for up to 10 app users.
If you want to code, VS Code plus Flutter or Expo is a great place to start, and it costs you nothing but evenings. For every other route to an app, including paying someone, head back to our guide on how to create an app.
FAQ
Is VS Code good for app development?
Yes. VS Code has official extensions for Flutter, .NET MAUI and web development, and React Native recommends Expo, which you run from VS Code’s terminal. In Stack Overflow’s 2025 survey 75.9% of developers said they used it.
Can I build an Android app in VS Code?
Yes, with Flutter, React Native and Expo, or .NET MAUI. You’ll usually still install Android Studio for the Android SDK and emulator, even if you write all your code in VS Code.
Can I use Visual Studio on a Mac?
No. Visual Studio for Mac was retired on 31 August 2024, and Visual Studio 2026 supports only Windows 11 and Windows Server. Microsoft recommends VS Code on a Mac, or Visual Studio inside a Windows virtual machine.
Do I need a Mac to make an iPhone app in VS Code?
Somewhere in the process, yes, because iPhone builds need Xcode, which runs on a Mac. Expo’s cloud build service runs that step on Expo’s own Macs, so you can write and build a React Native app from Windows.
Which language should I learn to build apps in VS Code?
JavaScript or TypeScript if you also want to build websites, since React Native and Expo use them. Dart if you go with Flutter, which Flutter recommends installing through VS Code.
Is Visual Studio Community really free for business use?
For individuals and for non-enterprise organisations with up to 5 users, yes. Organisations with more than 250 PCs or more than $1 million in yearly revenue need a paid edition outside open-source, academic and classroom use.
Can I make an app without coding instead?
Yes. A no-code app builder gives you features like bookings, loyalty and push notifications ready made, and publishes to the App Store and Google Play without an editor. It suits business apps better than learning a framework from scratch.
Last Updated on December 6, 2026 by Ian Naylor