- ✕この概要は、複数のオンライン ソースに基づいて AI を使用して生成されました。元のソース情報を表示するには、[詳細情報] リンクを使用します。
.NET MAUI (Multi-platform App UI) is a powerful cross-platform framework by Microsoft that allows developers to build applications for Android, iOS, macOS, and Windows using a single codebase. Traditionally, .NET MAUI development has been done using full-featured IDEs like Visual Studio. However, with the introduction of the .NET MAUI extension for Visual Studio Code, you can now develop and debug .NET MAUI apps using VS Code alone.
Getting Started
To get started with .NET MAUI in Visual Studio Code, follow these steps:
Install Required Tools: Download and install the latest .NET SDK from the .NET website. Install Visual Studio Code from the official website. Install the .NET MAUI extension from the VS Code marketplace. This extension also installs the C# Dev Kit and C# extensions for debugging and building .NET projects^3^.
Install .NET MAUI Templates and Workloads: Open a new terminal and run the following commands to install Microsoft's .NET MAUI project templates and required workloads: dotnet new install Microsoft.Maui.Templates dotnet new maui -n MyMauiApp dotnet workload install maui
Setup Android Development: Install Microsoft OpenJDK 17. Install Android dependencies using the following command: dotnet build -t:InstallAndroidDependencies -f:net8.0-android -p:AndroidSdkDirectory="C:\\Program Files (x86)\\Android\\android-sdk" -p:JavaSdkDirectory="C:\\Program Files\\Microsoft\\jdk-17.0.13.11-hotspot\\bin" -p:AcceptAndroidSDKLicenses=True Configure the required environment variables: setx ANDROID_HOME "C:\\Program Files (x86)\\Android\\android-sdk" setx JAVA_HOME "C:\\Program Files\\Microsoft\\jdk-17.0.13.11-hotspot\\bin" setx PATH "%PATH%;%ANDROID_HOME%\\tools;%ANDROID_HOME%\\platform-tools;%JAVA_HOME%\\bin"
Install and Configure the Android Emulator: Check available system images and install a system image for Android API 34: sdkmanager --list | findstr /i system-images sdkmanager "system-images;android-34;google_apis_playstore;x86_64" sdkmanager --install "emulator" Create and launch an Android virtual device: avdmanager create avd -n Pixel_6_Pro_API_34_Play -k "system-images;android-34;google_apis_playstore;x86_64" --device "pixel_6_pro" emulator -avd Pixel_6_Pro_API_34_Play
VSCodeで.NET MAUIの開発環境構築 #iOS - Qiita
2023年12月9日 · そこで、本記事ではmacOS上でVisual Studio Code + 拡張機能を利用し、 .NET MAUIのアプリケーションの開発環境を構築してみ …
VSCode & .NET MAUIでAndroidアプリ開発環境を構 …
2024年8月27日 · VSCode(Windows)に、.NET MAUIアプリの開発環境を構築する。 テンプレートからプロジェクトを新規作成し、Android …
VS Code で .NET MAUI の開発環境を構築する …
2023年8月14日 · 最近ネタ切れ気味の筆者も参加して .NET MAUI の開発環境を構築してみたので記事にさせていただきます。 .NET MAUI は .NET …
Develop .NET MAUI Apps Using VS Code Without …
2024年10月18日 · However, you can now build and debug .NET MAUI apps using VS Code alone! This guide provides a step-by-step approach to …
.NET MAUI - Visual Studio Marketplace
2023年7月11日 · .NET MAUI extension for VS Code The .NET Multi-platform App UI (MAUI) extension gives you the tools you need to build beautiful, …
Using Visual Studio Code for .NET MAUI Development
2024年2月24日 · In the same blog post, Visual Studio Code along with the C# Dev Kit is projected as a viable alternative for cross-platform .NET …
The .NET MAUI Extension for Visual Studio Code is …
2024年6月12日 · The .NET MAUI extension brings the tools you need to develop .NET MAUI apps into the lightweight Visual Studio Code …
How to develop MAUI app with VS Code - Ottorino …
2025年9月8日 · Learn how to develop a .NET MAUI app using Visual Studio Code. This guide covers installing the C# Dev Kit, setting up the MAUI …
Microsoft、「Visual Studio Code」向け「.NET …
2023年7月14日 · 「.NET MAUI」拡張機能のC#編集機能はアップデートされた新しい「C#」拡張機能に支えられており、「IntelliSense」による強 …
- 他の人も質問しています