feat: Enable to build engine and modeling related projects on any OS
PR Details
Description
This PR enables to build following projects :
- Stride.Assets.Models, Stride.Importer.Common, Stride.Importer.3D - these were restricted to win, because Visual c++ only available for NET FW - this is no longer the case
- Stride.Games, Stride.Input - for some reason Stride.Core.prop adds net8.0-windows as Runtime framework but there is no windows specific code for both projects (update: Stride.Games is being used for GameStudio with WinForms). I restricted to windows only just in case
Motivation and Context
Make less windows restricted experience
Types of changes
- [x] New feature (non-breaking change which adds functionality)
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.
Looks good but it sounds like we have a couple of dependencies still, D3d11 failed:
C:\BuildAgent\work\b0fd06bda8666a37\sources\editor\Stride.Editor\Engine\EmbeddedGameForm.cs(13,37): error CS0246: The type or namespace name 'GameForm' could not be found (are you missing a using directive or an assembly reference?)
Welp, At least it somehow explains what's the point of StrideExplicitWindowsRuntime. I found EnableWindowsTargeting dedicated for linux/macos platforms so this should work.
Teamcity returns the same error, looks like that wasn't it: https://teamcity.stride3d.net/buildConfiguration/Engine_BuildWindowsD3d11/24757?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildDeploymentsSection=false&expandBuildChangesSection=true&expandPull+Request+Details=true&expandBuildProblemsSection=true
@Eideren It's possible that it was broken due to my previous PR, because I'm able to run the editor and the game. Could you try to run again?
Yep, TC didn't error out, thanks !