-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Move projects properties to Directory.Build.props #19325
Conversation
Hey, thank you for your first contribution, it seems intriguing at a glance! |
This looks really useful. The Windows .NET 5 build CI build is now consistently failing (i've rerun the workflow a couple of times to check), but i'm not sure if this is related to these changes or is some unrelated issue with the GH environment. |
May be add OpenRA/.github/workflows/ci.yaml Lines 65 to 70 in fe12995
It github-env issue |
Can you please try adding that in this PR? |
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.
Here are my notes from comparing removals and additions. Most of these are just information, but there are a few change requests in there.
Once the fixups are applied I will tag a devtest build so we can verify that packaged releases have not regressed.
Can you please now squash the fixup commits? https://github.com/OpenRA/OpenRA/wiki/Contributing#updating-a-pull-request |
I pushed a test build to https://github.com/pchote/OpenRA/releases/tag/devtest-20210408 The macOS, AppImage, and Windows 32bit builds appear to work as expected. The Windows 64bit build doesn't launch and doesn't even appear to crash, no output at all. Can anyone else repro? |
@pchote I tested builds. I cant build |
That's odd. The x64 .NET 5 builds were working fine every time we've tested them before now - is something specific in this PR triggering the bug? |
@pchote How build x64? I download OpenRA-release-20210321.zip (src) , run
Not sure if PR not contain problem. |
I found how build and packaging. |
|
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.
LGTM and tested:
- All release packages now work as expected (https://github.com/pchote/OpenRA/releases/tag/devtest-20210411)
- Compiling using the Makefile works with both .NET5 and Mono
- Building and running through Rider still works as expected
For some reason debugging through Rider is not working on my system (hangs during startup), but this is also a problem on bleed so does not appear to be related to this PR.
It would be good if we could get this merged sooner rather than later for the CI fix. |
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.
LGTM, just needs a few things to be addressed.
- Also I notice
UseVSHostingProcess
properties have disappeared from 3 projects, but something tells me that's for the better? - And
AutoGenerateBindingRedirects
properties have also disappeared?
@penev92 see #19325 (comment) and #19325 (comment) |
Thanks. |
I have force pushed fixups for @penev92's requests so we can merge this ASAP |
Split *.csproj to local and shared properties.
It makes it easier to change global project properties and add a new conditions.
Documentation Customize your build