Open tomspilman opened 10 years ago
@KonajuGames @DDReaper ??
Certainly sounds like a plan, but only do with with confirmed working projects in the repository. Obviously only the Platformer sample at present fits that bill fully.
What I would recommend is to automate the NuGet package creation and use that and the NuGet package restore features of NuGet to test the samples rather than build directly against source.
Nothing wrong with doing against source but most devs I speak to use the NuGet's first and source second
What I would recommend is to automate the NuGet package creation
I see the NuGet issue is something separate. I know we haven't gotten to it... I will make the effort to solve that soon as I know some people love that method of distribution.
Still it is another method to solve this issue. TeamCity even has some good NuGet functionality built in, so we could depend on it and not the artifact sharing features if we needed to.
rather than build directly against source.
The TeamCity build server makes it easy to share the latest MonoGame build artifacts. The samples build process would simply use those and not need to rebuild anything.
Added an issue specifically about NuGet automation in https://github.com/mono/MonoGame/issues/2843.
Was thinking about this in the last PR.
Might be worth dropping NuGet in the samples for automated building, trick then is where to get the runtime DLL's for the samples.
Thoughts @tomspilman ?
Fine for the automated process but how would devs put the DLL's in for local running (although they could manually use the NuGet's of course)
Fix the build server to build the samples
develop
branch just like we do the main MonoGame project.The first issue is how to make the existing projects build against a development build of MonoGame? Currently the samples all do this in their csprojs:
Which means they assume that MonoGame is installed on the machine.
Should we make part of the samples build process install the latest version of MonoGame? Or should we alter the .csproj to use something more complex like:
This allows us to overload the location of the MonoGame assemblies from the build server by pre-defining the value of
$MonoGameAssembliesPath
.Thoughts?