-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Samples To Automated Build #26
Comments
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 |
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.
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 MonoGame/MonoGame#2843. |
Was thinking about this in the last PR. 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?
The text was updated successfully, but these errors were encountered: