I was hoping that the templates would take care of all the references for me but when I make changes to the MG framework source (and release build) those changes are not reflected in the projects. What am I missing?
- Cloned repo
git submodule update --init
- Uninstalled the standard monogame templates from visual studio
- Ran the .vsix installer in
- Created project from the newly installed templates.
- Made changes to MG source.
- Built MG source.
- Changes not reflected in project
I’d be happy to make a step by step guide on this once I understand how it works, cus I feel it’s missing from the docs, or maybe that’s just me?
With the standard templates, a newly created project will reference the NuGet packages for MonoGame.Framework and MonoGame.Content.Builder.Task.
Or did you modify the templates to reference your modified MonoGame assembly?
You can remove the NuGet references after creating a project, and reference your modified version of MonoGame instead. If that’s what you want, this tread should help you do that.
It’s not you. The docs are thin, especially in the build from source department.
Got it working, thanks a lot!
I guess the templates you get when you download and build the source are no different than the standard templates you get when installing MG normally, eg: they don’t reference the source they come with but nuget packages…