Issues with Monogame Content Builder in Visual Studio 2022

I am creating a new project in Visual Studio 2022 with Monogame. It is a Windows DirectX project. I get the following error and I can’t figure out how to solve it.

MSB3073 The command “dotnet restore:” exited with code 1.

Any help would be greatly appreciated.

Show your csproj, we’re not psychics.

WinExe net6.0-windows Major false false true app.manifest Icon.ico