Visual Studio for Mac doesn't have the .NET 7 or MAUI project templates

Prabakaran Ramasamy 21 Reputation points
2023-07-05T05:59:09.32+00:00

I have the Visual Studio for Mac 17.6 (build 1575). It doesn't have either MAUI or .NET apps for Android and iOS. I have tried reinstalling the IDE, but no luck. How can I get those new project templates?

Visual Studio Enterprise 2022 for Mac
Version 17.6 (build 1575)
Installation UUID: 42d64c45-0957-4d69-a0db-f63dd71733b6

Runtime
.NET 7.0.3 (64-bit)
Architecture: X64
Microsoft.macOS.Sdk 13.1.1007; git-rev-head:8afca776a0a96613dfb7200e0917bb57f9ed5583; git-branch:release/7.0.1xx-xcode14.2

Xamarin Designer
Version: 17.6.3.9
Hash: 2648399ae8
Branch: remotes/origin/d17-6
Build date: 2023-06-14 17:06:02 UTC

Roslyn (Language Service)
4.6.0-3.23180.6+99e956e42697a6dd886d1e12478ea2b27cceacfa

NuGet
Version: 6.4.0.117

.NET SDK (x64)
SDK: /usr/local/share/dotnet/sdk/7.0.304/Sdks
SDK Versions:
	7.0.304
	7.0.302
	7.0.203
	7.0.202
	7.0.201
	7.0.200
	7.0.103
	7.0.102
	7.0.101
	7.0.100
	6.0.410
	6.0.408
	6.0.407
	6.0.406
	6.0.405
	6.0.404
	6.0.403
MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks

.NET Runtime (x64)
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	7.0.7
	7.0.5
	7.0.4
	7.0.3
	7.0.2
	7.0.1
	7.0.0
	6.0.18
	6.0.16
	6.0.15
	6.0.14
	6.0.13
	6.0.12
	6.0.11

Xamarin.Profiler
Version: 1.8.0.49
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Updater
Version: 11

Xamarin.Android
Version: 13.2.0.6 (Visual Studio Enterprise)
Commit: xamarin-android/d17-5/a200af1
Android SDK: /Users/prabakaran/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		12.0 (API level 31)
		11.0 (API level 30)
		13.0 (API level 33)

SDK Command-line Tools Version: 7.0
SDK Platform Tools Version: 33.0.2
SDK Build Tools Version: 33.0.2

Build Information: 
Mono: 6dd9def
Java.Interop: xamarin/java.interop/d17-5@149d70fe
SQLite: xamarin/sqlite/3.40.1@68c69d8
Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@9f02d77

Microsoft Build of OpenJDK
Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk
11.0.16.1
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Eclipse Temurin JDK
Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk
1.8.0.302
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Android SDK Manager
Version: 17.6.0.50
Hash: a715dca
Branch: HEAD
Build date: 2023-06-14 17:06:06 UTC

Android Device Manager
Version: 0.0.0.1309
Hash: 06e3e77
Branch: HEAD
Build date: 2023-06-14 17:06:06 UTC

Apple Developer Tools
Xcode: 14.3.1 21815
Build: 14E300c

Xamarin.Mac
Not Installed

Xamarin.iOS
Version: 16.4.0.6 Visual Studio Enterprise
Hash: 97731c92c
Branch: xcode14.3
Build date: 2023-04-11 22:38:36-0400

Build Information
Release ID: 1706001575
Git revision: d32bcc352feed2f1f54e237e23e5c375d86eaf9e
Build date: 2023-06-14 17:04:22+00
Build branch: release-17.6
Build lane: release-17.6

Operating System
Mac OS X 13.3.1
Darwin 22.4.0 Darwin Kernel Version 22.4.0
    Mon Mar  6 21:00:17 PST 2023
    root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64


User's image

User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,418 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,914 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 32,861 Reputation points Microsoft Vendor
    2023-07-05T08:05:12.48+00:00

    Hello @Prabakaran Ramasamy ,

    Welcome to Microsoft Q&A forum.

    Please try to open a terminal and run dotnet new install Microsoft.Maui.Templates command to install the Maui templates again. After that restart Visual Studio for Mac and check if the Maui project templates appear. If it doesn’t work, also try to run sudo dotnet workload update command.

    This issue may be similar to this one: MAUI projects missing from VS Mac version 17.5.1. Though it was first noticed in version 17.5.1, and currently the version of VS for Mac is 17.6.x, it is still under investigation.

    I know that you tried reinstalling the IDE, but not sure if you also tried uninstalling Maui. If you didn’t uninstall Maui, I suggest also try to uninstall Maui(uninstall VS for Mac and uninstall Maui by using command) and then reinstall VS for Mac. If the issue persists, please report this issue by submitting a ticket on our Developer Community - Visual Studio for Mac.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. satya karki 991 Reputation points MVP
    2023-07-07T08:40:00.1233333+00:00

    Hi, maybe you have missed to install the .NET MAUI workload. Please check the necessary workload to be installed. The below is reference installation for .NET MAUI apps for Mac
    https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation?tabs=vsmac

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.