Reputation: 1
Severity Code Description Project File Line Suppression State Error CS0400 The type or namespace name 'Maui' could not be found in the global namespace (are you missing an assembly reference?) MauimapApp3 (net7.0-android) C:\Users\Dad\source\repos\MauimapApp3\MauimapApp3\Microsoft.Maui.Controls.SourceGen\Microsoft.Maui.Controls.SourceGen.CodeBehindGenerator\MainPage.xaml.sg.cs 18 Active Iam trying to add map to maui project and I always get the same error any suggetion
I tried to install mauimaps from nuget and maui google map and I didn't resolve it
Upvotes: 0
Views: 413
Reputation: 4332
I tried to install mauimaps from nuget and maui google map and I didn't resolve it.
You can implement map in MAUI projects by following the steps in the official document: Map. The doc is very detailed.
In addition, it also provide code sample to display a map: maui-samples/.../map.
Upvotes: 1