Building from source with CAKE

I’m looking for advice on building MonoGame from source after migrating from Protobuild to CAKE. I attempted running the build.cake script to generate the project, but nothing worked, including downloading CAKE and trying to run the script with it.

CAKE’s getting started page didn’t help me either, since it includes a Powershell command that does everything.

You don’t need to run Cake to generate projects. The solution and projects for all the platforms are committed in the repository now.

Thanks a bunch, that worked! How can I use the custom built version in a project?

After building, it generated a MonoGame.Framework.DesktopGL.3.8.0.1.nupkg. I added this with dotnet add package MonoGame.Framework.DesktopGL.3.8.0.1.nupkg, but it downloaded MonoGame 3.7.0.7 and is using that version instead of the one I built. Am I missing something?