-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
C#: Make editor create NuGet fallback folder for Godot packages #43029
Conversation
This will be backported to the 3.2 branch later, but we probably want to give it a bit more time to be tested. |
modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Godot.NET.Sdk_PackageVersion.txt
Outdated
Show resolved
Hide resolved
#43028 is merged, |
I was crossing my fingers in hope GitHub would magically take care of that 😄 |
beaa176
to
bbd2911
Compare
Looks like I have to update my pre-commit hooks... :( |
Note: It's actually |
@akien-mga Are the CI static checks different from the pre-commit hooks in any way? Mine don't trigger any error. Perhaps it's my formatter version:
|
@neikeq That one is ran manually by the CI: |
Here the failing check is "Python style checks via black (black_format.sh)" Black is pinned to 20.8b1: https://github.com/godotengine/godot/blob/master/.github/workflows/static_checks.yml#L22 |
Ah yes, black changes its mind on how to reflow long strings all the time, so it's important to use the current stable version which we're tracking (in the past we used |
bbd2911
to
713f398
Compare
modules/mono/editor/GodotTools/GodotTools.Shared/GodotTools.Shared.csproj
Outdated
Show resolved
Hide resolved
Main benefits: - Projects can be built offline. Previously you needed internet access the first time building to download the packages. - Changes to packages like Godot.NET.Sdk can be easily tested before publishing. This was already possible but required too many manual steps. - First time builds are a bit faster, as the Sdk package doesn't need to be downloaded. In practice, the package is very small so it makes little difference. Bumped Godot.NET.Sdk to 4.0.0-dev3 in order to enable the recent changes regarding '.mono/' -> '.godot/mono/'.
713f398
to
64b5ee7
Compare
I did a little testing. In the current master, building fails due to the mismatch of Anyway, here's a minimal test project, including |
@aaronfranke Thanks. Custom event signals weren't doing hot-reload properly. #43088 fixes it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in combination with #43088 and it works. I don't understand all this code but it looks fine.
Note: I didn't test offline builds, but at least the online builds work now unlike the current master.
Thanks! |
Main benefits:
Godot.NET.Sdk
).Godot.NET.Sdk
can be easily tested before publishing. This was already possible but required too many manual steps.Bumped Godot.NET.Sdk to 4.0.0-dev3 in order to enable the recent changes regarding
.mono/
->.godot/mono/
.