I get many errors after updating my nuget package to MonoGame.Framework.Android

I get many error messages after updating the nuget package MonoGame.Framework.Android to MonoGame.Framework.Android

For example:

using Microsoft.Xna.Framework;

Error CS0234: The type or namespace name ‘Xna’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?)

How can I solve this problem?
I use Visual Studio for Mac 17.3.1 (build 411).

Per the migration from 3.8.0 to 3.8.1 guide: “.NET 6 introduced breaking changes in how csproj are defined for iOS/iPadOS and Android. We recommand that you create new projects using the 3.8.1 templates and that you copy over your project files there.”