Created
December 17, 2024 11:22
-
-
Save CartBlanche/25d665f5188b7c31cf9b8e2d434e981a to your computer and use it in GitHub Desktop.
Testing macOS MonoGame nugets from CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download the macOS zip files from github - https://github.com/MonoGame/MonoGame/actions/runs/12164591148/artifacts/2274752013 | |
2. Unzip to directory location that doesn't have any access right issues (I use ~/Downloads/mg-nugets) | |
3. Add the nuget source by running dotnet nuget add source ~/Downloads/mg-nugets -n "mg-nugets" | |
4. in your game project directory there should be a .config directory and in there should be a dotnet-tools.json file. | |
Change all the references from "version": "3.8.2.1105" to the unzipped nuget version, "version": "3.8.2.1736-develop" | |
5. If your csprojs contain hard-coded versions of nugets like "3.8.2.1105", I'd recommend changing these to "3.8.*". | |
That way you only need to update the dotnet-tools.json file and your csprojs done't need to change, when say 3.8.3 or future versions are released. | |
6. Clean your project and maybe try a dotnet build [yourproject].sln | |
The same process can be used to test our latest builds on other platforms/operating systems, found here https://github.com/MonoGame/MonoGame/actions/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment