Commit 19ba691
committed
refactor: replace SDK-style project references with direct imports
Projects no longer use `<Project Sdk="Stride.Build.Sdk">`. Every .csproj
now imports SDK props/targets directly from source:
<Project>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove(...))\sdk\...\Sdk.props" />
...
<Import Project="$(StrideRoot)sources\sdk\...\Sdk.targets" />
</Project>
The props import uses GetDirectoryNameOfFileAbove (no pre-set property
needed) and the targets import uses $(StrideRoot) (safe after the SDK
chain is loaded).
SDK internal cross-references (Editor and Tests SDKs) now use
$(MSBuildThisFileDirectory) relative paths instead of the Sdk= resolver.
Other changes:
- global.json: msbuild-sdks entries commented out
- nuget.config: stride-sdks source and packageSourceMapping commented out
- .github/actions/build-sdk: removed (no longer a prerequisite)
- build/compile.bat: removed SDK build step
- sources/Directory.Build.props: replaced TODO with explanatory comment
- build/docs/SDK-GUIDE.md: added direct-import section and revert guide
- sources/sdk/README.md: new file explaining import modes and revert steps
To revert to full-SDK mode: build SDK packages, uncomment global.json
and nuget.config entries, restore <Project Sdk="..."> opening tags, and
revert the four SDK internal files. See sources/sdk/README.md.1 parent ea48001 commit 19ba691
149 files changed
Lines changed: 577 additions & 203 deletions
File tree
- .github
- actions/build-sdk
- workflows
- build
- docs
- samples/Tests
- sources
- assets
- Stride.Core.Assets.CompilerApp
- Stride.Core.Assets.Quantum.Tests
- Stride.Core.Assets.Quantum
- Stride.Core.Assets.Tests
- Stride.Core.Assets
- Stride.Core.Packages
- buildengine
- Stride.Core.BuildEngine.Common
- Stride.Core.BuildEngine.Tests
- core
- Stride.Core.CompilerServices.Tests
- Stride.Core.CompilerServices
- Stride.Core.Design.Tests
- Stride.Core.Design
- Stride.Core.IO
- Stride.Core.Mathematics.Tests
- Stride.Core.Mathematics
- Stride.Core.MicroThreading
- Stride.Core.Reflection
- Stride.Core.Serialization
- Stride.Core.Tasks
- Stride.Core.Tests
- Stride.Core.Translation
- Stride.Core.Yaml.Tests
- Stride.Core.Yaml
- Stride.Core
- editor
- Stride.Assets.Presentation
- Stride.Core.Assets.Editor.Tests
- Stride.Core.Assets.Editor
- Stride.Editor.CrashReport
- Stride.Editor
- Stride.GameStudio.Tests
- Stride.GameStudio
- Stride.Samples.Templates
- engine
- Stride.Assets.Models
- Stride.Assets.Tests2
- Stride.Assets.Tests
- Stride.Assets
- Stride.Audio.Tests
- Stride.Audio
- Stride.BepuPhysics
- Stride.BepuPhysics.Debug
- Stride.BepuPhysics.Soft
- Stride.BepuPhysics.Tests
- Stride.BepuPhysics._2D
- Stride.BepuPhysics
- Stride.Debugger
- Stride.Engine.NoAssets.Tests
- Stride.Engine.Tests
- Stride.Engine
- Stride.FontCompiler
- Stride.Games.Testing
- Stride.Games
- Stride.Graphics.Regression
- Stride.Graphics.Tests.10_0
- Stride.Graphics.Tests.11_0
- Stride.Graphics.Tests
- Stride.Graphics
- Stride.Input.Tests
- Stride.Input
- Stride.Native
- Stride.Particles.Tests
- Stride.Particles
- Stride.Physics.Tests
- Stride.Physics
- Stride.Rendering
- Stride.Shaders.Compiler
- Stride.Shaders.Parser
- Stride.Shaders.Tests
- Stride.Shaders
- Stride.SpriteStudio.Offline
- Stride.SpriteStudio.Runtime
- Stride.UI.Tests
- Stride.UI
- Stride.Video
- Stride.VirtualReality
- Stride.Voxels
- Stride
- presentation
- Stride.Core.Presentation.Dialogs
- Stride.Core.Presentation.Graph
- Stride.Core.Presentation.Quantum.Tests
- Stride.Core.Presentation.Quantum
- Stride.Core.Presentation.Tests
- Stride.Core.Presentation.Wpf
- Stride.Core.Presentation
- Stride.Core.Quantum.Tests
- Stride.Core.Quantum
- Stride.Core.Translation.Presentation
- sdk
- Stride.Build.Sdk.Editor/Sdk
- Stride.Build.Sdk.Tests/Sdk
- shaders
- Irony.GrammarExplorer
- Irony
- Stride.Core.Shaders
- tests
- tools/Stride.TextureConverter.Tests
- xunit.runner.stride
- tools
- Stride.ConnectionRouter
- Stride.Core.ProjectTemplating.Tests
- Stride.Core.ProjectTemplating
- Stride.Core.Translation.Extractor
- Stride.EffectCompilerServer
- Stride.FreeImage
- Stride.Graphics.RenderDocPlugin
- Stride.Importer.3D
- Stride.Importer.Common
- Stride.ProjectGenerator
- Stride.SamplesTestServer
- Stride.StorageTool
- Stride.TestRunner
- Stride.TextureConverter
- Stride.VisualStudio.Commands.Interfaces
- Stride.VisualStudio.Commands
- Stride.VisualStudio.Package.Tests
- Stride.VisualStudio.Package
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
0 commit comments