Skip to content
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

[Build] Fix build following changes from #2045 #2061

Merged
merged 1 commit into from Nov 22, 2023

Conversation

Eideren
Copy link
Collaborator

@Eideren Eideren commented Nov 21, 2023

PR Details

Build system was confused with the VersionOverride when building from zero.

Related Issue

Fixes #2059

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

Pinging @Kryptos-FR to verify this, I know you left a comment on that particular change in #2045 but it builds fine on my end - let me know if the changes I introduced are problematic.

<AnalyzersNotToRemove Include="@(Analyzer)" Condition="$([System.String]::Copy(%(FullPath)).Contains('Stride'))" />
<AnalyzersNotToRemove Include="@(Analyzer)" Condition="$(FullPath.Contains('Stride'))" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this line is the only thing that is needed to fix it. I'm not sure why it is triggering now, since that wasn't part of the central package management change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With that said, I guess we can merge the whole since it's better not to keep this VersionOverride exception.

To be tested with a TeamCity build.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be clear, that particular change was the first one I made to try and fix the build system, it wasn't enough for my case. Probably because I built it once before making any changes, leading to a stale target or something breaking further builds.

@Eideren
Copy link
Collaborator Author

Eideren commented Nov 22, 2023

Builds are okay, merging this.

@Eideren Eideren merged commit 1b72c89 into stride3d:master Nov 22, 2023
12 of 13 checks passed
@Eideren Eideren deleted the build_fix branch November 22, 2023 05:45
Kryptos-FR added a commit to Kryptos-FR/stride that referenced this pull request Dec 30, 2023
This was preventing them from being included in all projects (see stride3d#2061).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Master is completely broken
2 participants