[Editor] Remove some windows dependencies in editor libraries by Kryptos-FR · Pull Request #1908 · stride3d/stride (original) (raw)

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.

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

Checklist