Harry
Harry

Reputation: 145

.net maui preview 10 doesn't single project

I tried to install visual studio 2022 preview 17.1 and create new .net Maui project but it is not a single project and when I add a new page it is still Xamarin forms page and also have an error enter image description here

Upvotes: 1

Views: 425

Answers (1)

Gerald Versluis
Gerald Versluis

Reputation: 34128

It looks like you somehow have old templates. Open up a command-line window and run dotnet new --install Microsoft.Maui.Templates that should update you to the last ones, including the single project.

Upvotes: 5

Related Questions