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

[Editor] Remove some windows dependencies in editor libraries #1908

Merged
merged 1 commit into from Oct 16, 2023

Conversation

Kryptos-FR
Copy link
Member

@Kryptos-FR Kryptos-FR commented Oct 8, 2023

PR Details

Target .NET 6 (cross-platform) for editor libraries that don't have any Windows dependencies.

Description

Introduce StrideEditorAppTargetFramework in sources\targets\Stride.Core.TargetFrameworks.Editor.props and change existing StrideEditorTargetFramework to target net6.0 only.

Related Issue

N/A

Motivation and Context

Some editor libraries should be cross-platform (esp. Stride.Core.Assets.Quantum). This will allow to reuse these libraries for other tools that don't necessarily target Windows.

On the other hand, editor libraries with Presentation in their name have a strong dependency to either Windows Form or WPF.

Types of changes

  • Build change

Checklist

  • All new and existing tests should pass.

@Eideren Eideren requested a review from xen2 October 8, 2023 12:22
@tebjan
Copy link
Member

tebjan commented Oct 8, 2023

Nice one, this tells us which projects are windows platform-specific. LGTM.

Copy link
Member

@manio143 manio143 left a comment

Choose a reason for hiding this comment

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

Looks good. @Doprez FYI for net8.0 migration

@Kryptos-FR Kryptos-FR mentioned this pull request Oct 11, 2023
5 tasks
Kryptos-FR added a commit to Color-Rise/stride-xplat-editor that referenced this pull request Oct 15, 2023
Some Stride packages still depend on Windows (see stride3d#1908)
Kryptos-FR added a commit to Color-Rise/stride-xplat-editor that referenced this pull request Oct 15, 2023
Some Stride packages still depend on Windows (see stride3d#1908).
Some Stride packages are not built properly locally.
@Eideren Eideren merged commit 329becb into stride3d:master Oct 16, 2023
1 check passed
@Kryptos-FR Kryptos-FR deleted the feature/editor-target-cleanup branch October 16, 2023 22:31
Kryptos-FR added a commit to Kryptos-FR/stride that referenced this pull request Oct 19, 2023
Kryptos-FR added a commit to Kryptos-FR/stride that referenced this pull request Oct 19, 2023
Eideren added a commit to Eideren/xenko that referenced this pull request Oct 22, 2023
Eideren added a commit that referenced this pull request Oct 22, 2023
@Kryptos-FR Kryptos-FR mentioned this pull request Oct 25, 2023
7 tasks
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.

None yet

4 participants