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
Mono: Adding .NET #80
Comments
I'm also having issues with .net Before adding C# everything was fine, but now nothing works and I get this error when deploying to GitHub pages and trying to play the game index.js:362 ERROR: Condition "err" is true. Returned: err |
Certain plugins( such as https://github.com/31/GodotOnReady) might rely on the dotnet CLI being used to build the C# project. The current docker image is built on top of the
mono:latest
and does not include the .NET SDK and CLI tools.The current workaround ( and potential solution) is to execute the following commands before building:
which seems to be all that is required for Godot to prefer using the
dotnet
commands when building. Running these commands in the existing Dockerfile should work out of the box.Some other potential solutions are:
mono.Dockerfile
to usemcr.microsoft.com/dotnet/sdk:6.0
or preferablymcr.microsoft.com/dotnet/sdk:6.0-alpine
, which would be weird since the image is published asmono
and might break workflowsgodot-ci:dotnet
which uses the above mentioned images, unfortunately this would add a third image to maintainThe text was updated successfully, but these errors were encountered: