From 11de67077d2fde33b0ae5fb8e22064988246faeb Mon Sep 17 00:00:00 2001 From: Nicolas Musset Date: Sat, 28 Mar 2026 16:12:03 +0100 Subject: [PATCH] refactor: replace SDK-style project references with direct imports Projects no longer use ``. Every .csproj now imports SDK props/targets directly from source: ... 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 opening tags, and revert the four SDK internal files. See sources/sdk/README.md. --- .github/actions/build-sdk/action.yml | 10 -- .github/workflows/build-android.yml | 1 - .../workflows/build-assembly-processor.yml | 1 - .github/workflows/build-ios.yml | 1 - .github/workflows/build-launcher.yml | 1 - .github/workflows/build-linux-runtime.yml | 1 - .github/workflows/build-vs-package.yml | 1 - .github/workflows/build-windows-full.yml | 1 - .github/workflows/build-windows-runtime.yml | 1 - .github/workflows/test-linux.yml | 1 - .github/workflows/test-windows.yml | 1 - README.md | 13 +- build/Stride.build | 46 ++---- build/compile.bat | 9 - build/docs/SDK-GUIDE.md | 154 ++++++++++++++++-- global.json | 7 +- nuget.config | 8 +- samples/Tests/Stride.Samples.Tests.csproj | 6 +- sources/Directory.Build.props | 8 +- sources/README.md | 22 ++- .../Stride.Core.Assets.CompilerApp.csproj | 4 +- .../Stride.Core.Assets.Quantum.Tests.csproj | 4 +- .../Stride.Core.Assets.Quantum.csproj | 4 +- .../Stride.Core.Assets.Tests.csproj | 4 +- .../Stride.Core.Assets.csproj | 4 +- .../Stride.Core.Packages.csproj | 4 +- .../Stride.Core.BuildEngine.Common.csproj | 4 +- .../Stride.Core.BuildEngine.Tests.csproj | 4 +- .../Stride.Core.CompilerServices.Tests.csproj | 4 +- .../Stride.Core.CompilerServices.csproj | 4 +- .../Stride.Core.Design.Tests.csproj | 4 +- .../Stride.Core.Design.csproj | 4 +- .../core/Stride.Core.IO/Stride.Core.IO.csproj | 4 +- .../Stride.Core.Mathematics.Tests.csproj | 4 +- .../Stride.Core.Mathematics.csproj | 4 +- .../Stride.Core.MicroThreading.csproj | 4 +- .../Stride.Core.Reflection.csproj | 4 +- .../Stride.Core.Serialization.csproj | 4 +- .../Stride.Core.Tasks.csproj | 4 +- .../Stride.Core.Tests.Android.csproj | 4 +- .../Stride.Core.Tests.csproj | 4 +- .../Stride.Core.Tests.iOS.csproj | 4 +- .../Stride.Core.Translation.csproj | 4 +- .../Stride.Core.Yaml.Tests.csproj | 4 +- .../Stride.Core.Yaml/Stride.Core.Yaml.csproj | 4 +- sources/core/Stride.Core/Stride.Core.csproj | 4 +- .../Stride.Assets.Presentation.csproj | 4 +- .../Stride.Core.Assets.Editor.Tests.csproj | 4 +- .../Stride.Core.Assets.Editor.csproj | 4 +- .../Stride.Editor.CrashReport.csproj | 4 +- .../editor/Stride.Editor/Stride.Editor.csproj | 4 +- .../Stride.GameStudio.Tests.csproj | 4 +- .../Stride.GameStudio.csproj | 4 +- .../Stride.Samples.Templates.csproj | 4 +- .../Stride.Assets.Models.csproj | 4 +- .../Stride.Assets.Tests.csproj | 4 +- .../Stride.Assets.Tests2.csproj | 4 +- .../engine/Stride.Assets/Stride.Assets.csproj | 4 +- .../Stride.Audio.Tests.Android.csproj | 4 +- .../Stride.Audio.Tests.Windows.csproj | 4 +- .../Stride.Audio.Tests.iOS.csproj | 4 +- .../engine/Stride.Audio/Stride.Audio.csproj | 4 +- .../Stride.BepuPhysics.Debug.csproj | 4 +- .../Stride.BepuPhysics.Navigation.csproj | 4 +- .../Stride.BepuPhysics.Soft.csproj | 4 +- .../Stride.BepuPhysics.Tests.csproj | 4 +- .../Stride.BepuPhysics._2D.csproj | 4 +- .../Stride.BepuPhysics.csproj | 4 +- .../Stride.Debugger/Stride.Debugger.csproj | 4 +- ...tride.Engine.NoAssets.Tests.Windows.csproj | 4 +- .../Stride.Engine.Tests.Android.csproj | 4 +- .../Stride.Engine.Tests.Windows.csproj | 4 +- .../Stride.Engine.Tests.iOS.csproj | 4 +- .../engine/Stride.Engine/Stride.Engine.csproj | 4 +- .../Stride.FontCompiler.csproj | 4 +- .../Stride.Games.Testing.csproj | 4 +- .../engine/Stride.Games/Stride.Games.csproj | 4 +- .../Stride.Graphics.Regression.csproj | 4 +- .../Stride.Graphics.Tests.10_0.Windows.csproj | 4 +- .../Stride.Graphics.Tests.11_0.Windows.csproj | 4 +- .../Stride.Graphics.Tests.Windows.csproj | 4 +- .../Stride.Graphics/Stride.Graphics.csproj | 4 +- .../Stride.Input.Tests.Android.csproj | 4 +- .../Stride.Input.Tests.Windows.csproj | 4 +- .../Stride.Input.Tests.iOS.csproj | 4 +- .../engine/Stride.Input/Stride.Input.csproj | 4 +- .../engine/Stride.Native/Stride.Native.csproj | 4 +- .../Stride.Navigation.Tests.Windows.csproj | 4 +- .../Stride.Navigation.csproj | 4 +- .../Stride.Particles.Tests.Android.csproj | 4 +- .../Stride.Particles.Tests.Windows.csproj | 4 +- .../Stride.Particles.Tests.iOS.csproj | 4 +- .../Stride.Particles/Stride.Particles.csproj | 4 +- .../Stride.Physics.Tests.Android.csproj | 4 +- .../Stride.Physics.Tests.Windows.csproj | 4 +- .../Stride.Physics.Tests.iOS.csproj | 4 +- .../Stride.Physics/Stride.Physics.csproj | 4 +- .../Stride.Rendering/Stride.Rendering.csproj | 4 +- .../Stride.Shaders.Compiler.csproj | 4 +- .../Stride.Shaders.Parser.csproj | 4 +- .../Stride.Shaders.Tests.Windows.csproj | 4 +- .../Stride.Shaders/Stride.Shaders.csproj | 4 +- .../Stride.SpriteStudio.Offline.csproj | 4 +- .../Stride.SpriteStudio.Runtime.csproj | 4 +- .../Stride.UI.Tests.Android.csproj | 4 +- .../Stride.UI.Tests.Windows.csproj | 4 +- .../Stride.UI.Tests.iOS.csproj | 4 +- sources/engine/Stride.UI/Stride.UI.csproj | 4 +- .../engine/Stride.Video/Stride.Video.csproj | 4 +- .../Stride.VirtualReality.csproj | 4 +- .../engine/Stride.Voxels/Stride.Voxels.csproj | 4 +- sources/engine/Stride/Stride.csproj | 4 +- .../Stride.Core.Presentation.Dialogs.csproj | 4 +- .../Stride.Core.Presentation.Graph.csproj | 4 +- ...ide.Core.Presentation.Quantum.Tests.csproj | 4 +- .../Stride.Core.Presentation.Quantum.csproj | 4 +- .../Stride.Core.Presentation.Tests.csproj | 4 +- .../Stride.Core.Presentation.Wpf.csproj | 4 +- .../Stride.Core.Presentation.csproj | 4 +- .../Stride.Core.Quantum.Tests.csproj | 4 +- .../Stride.Core.Quantum.csproj | 4 +- ...tride.Core.Translation.Presentation.csproj | 4 +- sources/sdk/README.md | 43 +++++ .../sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.props | 2 +- .../Stride.Build.Sdk.Editor/Sdk/Sdk.targets | 2 +- .../sdk/Stride.Build.Sdk.Tests/Sdk/Sdk.props | 2 +- .../Stride.Build.Sdk.Tests/Sdk/Sdk.targets | 2 +- .../Irony.GrammarExplorer.csproj | 4 +- sources/shaders/Irony/Irony.csproj | 4 +- .../Stride.Core.Shaders.csproj | 4 +- .../Stride.TextureConverter.Tests.csproj | 4 +- .../xunit.runner.stride.csproj | 4 +- .../Stride.ConnectionRouter.csproj | 4 +- ...Stride.Core.ProjectTemplating.Tests.csproj | 4 +- .../Stride.Core.ProjectTemplating.csproj | 4 +- .../Stride.Core.Translation.Extractor.csproj | 4 +- .../Stride.EffectCompilerServer.csproj | 4 +- .../Stride.FreeImage/Stride.FreeImage.csproj | 4 +- .../Stride.Graphics.RenderDocPlugin.csproj | 4 +- .../Stride.Importer.3D.csproj | 4 +- .../Stride.Importer.Common.csproj | 4 +- .../Stride.ProjectGenerator.csproj | 4 +- .../Stride.SamplesTestServer.csproj | 4 +- .../Stride.StorageTool.csproj | 4 +- .../Stride.TestRunner.csproj | 4 +- .../Stride.TextureConverter.csproj | 4 +- ...de.VisualStudio.Commands.Interfaces.csproj | 4 +- .../Stride.VisualStudio.Commands.csproj | 4 +- .../Stride.VisualStudio.Package.Tests.csproj | 4 +- .../Stride.VisualStudio.Package.csproj | 4 +- 150 files changed, 612 insertions(+), 232 deletions(-) delete mode 100644 .github/actions/build-sdk/action.yml create mode 100644 sources/sdk/README.md diff --git a/.github/actions/build-sdk/action.yml b/.github/actions/build-sdk/action.yml deleted file mode 100644 index c814653c4..000000000 --- a/.github/actions/build-sdk/action.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: Build Stride SDK -description: Build and install Stride.Build.Sdk MSBuild SDK packages into the local NuGet cache - -runs: - using: composite - steps: - - name: Build Stride SDK - shell: pwsh - run: | - dotnet build sources/sdk/Stride.Build.Sdk.slnx -v:m diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index 7c1ec3f2d..362877dd6 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -76,7 +76,6 @@ jobs: echo "ANDROID_NDK_ROOT=$ndkPath" >> $env:GITHUB_ENV echo "ANDROID_NDK_HOME=$ndkPath" >> $env:GITHUB_ENV echo "Using NDK at: $ndkPath" - - uses: ./.github/actions/build-sdk - name: Debug NDK Configuration shell: pwsh run: | diff --git a/.github/workflows/build-assembly-processor.yml b/.github/workflows/build-assembly-processor.yml index 1b169d812..43a604a27 100644 --- a/.github/workflows/build-assembly-processor.yml +++ b/.github/workflows/build-assembly-processor.yml @@ -48,7 +48,6 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - - uses: ./.github/actions/build-sdk - name: Build run: | dotnet build build\Stride.AssemblyProcessor.sln ` diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index e9c366102..0c619e3f1 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -54,7 +54,6 @@ jobs: dotnet-version: '10.0.x' - name: Install .NET iOS Workload run: dotnet workload install ios - - uses: ./.github/actions/build-sdk - name: Build run: | dotnet build build\Stride.iOS.slnf ` diff --git a/.github/workflows/build-launcher.yml b/.github/workflows/build-launcher.yml index b951e66f2..d706211d3 100644 --- a/.github/workflows/build-launcher.yml +++ b/.github/workflows/build-launcher.yml @@ -50,7 +50,6 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - - uses: ./.github/actions/build-sdk - name: Build run: | dotnet build build\Stride.Launcher.sln ` diff --git a/.github/workflows/build-linux-runtime.yml b/.github/workflows/build-linux-runtime.yml index fbff8f344..64a76cd0d 100644 --- a/.github/workflows/build-linux-runtime.yml +++ b/.github/workflows/build-linux-runtime.yml @@ -62,7 +62,6 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - - uses: ./.github/actions/build-sdk - name: Build run: | dotnet build build\Stride.Runtime.slnf ` diff --git a/.github/workflows/build-vs-package.yml b/.github/workflows/build-vs-package.yml index 02717fd4c..d46d509b6 100644 --- a/.github/workflows/build-vs-package.yml +++ b/.github/workflows/build-vs-package.yml @@ -50,7 +50,6 @@ jobs: - uses: microsoft/setup-msbuild@v3 with: vs-version: '[18.0,19.0)' - - uses: ./.github/actions/build-sdk - name: Build run: | msbuild build\Stride.VisualStudio.slnx ` diff --git a/.github/workflows/build-windows-full.yml b/.github/workflows/build-windows-full.yml index 3dea2517f..0bcbf1f29 100644 --- a/.github/workflows/build-windows-full.yml +++ b/.github/workflows/build-windows-full.yml @@ -47,7 +47,6 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - - uses: ./.github/actions/build-sdk - name: Build run: | dotnet build build\Stride.slnx ` diff --git a/.github/workflows/build-windows-runtime.yml b/.github/workflows/build-windows-runtime.yml index fb3301978..db2c102d8 100644 --- a/.github/workflows/build-windows-runtime.yml +++ b/.github/workflows/build-windows-runtime.yml @@ -65,7 +65,6 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - - uses: ./.github/actions/build-sdk - name: Build run: | dotnet build build\Stride.Runtime.slnf ` diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 8b67f8eb0..2d6ddb133 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -49,7 +49,6 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libbsd-dev clang llvm lld - - uses: ./.github/actions/build-sdk - name: Patch NativePath for Linux run: | # Make strlcat_chk and strlcpy_chk non-fatal on Linux diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 27ca38ebb..c3fd03cff 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -58,7 +58,6 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - - uses: ./.github/actions/build-sdk - name: Build run: | dotnet build build\Stride.Tests.${{ github.event.inputs.test-category || inputs.test-category || 'Simple' }}.slnf ` diff --git a/README.md b/README.md index 552e30b19..267caaf06 100644 --- a/README.md +++ b/README.md @@ -59,13 +59,7 @@ Our [Roadmap](https://doc.stride3d.net/latest/en/contributors/roadmap.html) comm ```bash git lfs clone https://github.com/stride3d/stride.git ``` -2. **Build the SDK packages** (required once, before opening any solution): - ```bash - dotnet build sources/sdk/Stride.Build.Sdk.slnx - ``` - This produces the MSBuild SDK packages that all Stride projects depend on. You only need to rebuild the SDK when its files change (under `sources/sdk/`). - -3. **Open the solution:** +2. **Open the solution:** - Open `\build\Stride.slnx` with Visual Studio 2026. - Build the `Stride.GameStudio` project in the `60-Editor` solution folder (it should be the default startup project) or run it directly from Visual Studio's toolbar. - _Optionally_, open and build `Stride.Android.sln`, `Stride.iOS.sln`, etc. @@ -73,9 +67,6 @@ Our [Roadmap](https://doc.stride3d.net/latest/en/contributors/roadmap.html) comm > [!WARNING] > **Do NOT use GitHub -> Code -> Download ZIP** option, as this won't include the LFS files. -> [!IMPORTANT] -> **You must build the SDK packages (step 2) before opening `Stride.slnx` in Visual Studio.** All projects use ``, and MSBuild resolves SDK packages before loading projects. If the SDK is missing from your NuGet cache, Visual Studio will fail to load the solution. When building from the command line with `Stride.build`, the SDK is built automatically as a dependency. - ### Build Stride without Visual Studio 1. **Install** [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/) (Go to *Tools for Visual Studio* and press download next to Build Tools for Visual Studio 2026) with the same prerequisites listed above. @@ -90,7 +81,7 @@ Our [Roadmap](https://doc.stride3d.net/latest/en/contributors/roadmap.html) comm ```bash msbuild /t:Build Stride.build ``` - This automatically builds the SDK packages first, then restores and builds the full solution. + This restores and builds the full solution. ### If Building Fails diff --git a/build/Stride.build b/build/Stride.build index 3571b3746..f166b3e0c 100644 --- a/build/Stride.build +++ b/build/Stride.build @@ -29,18 +29,6 @@ Example of use: - - - - $(StrideRoot)sources\sdk\Stride.Build.Sdk.slnx - - - - - @@ -316,7 +304,7 @@ Example of use: - + $(MSBuildThisFileDirectory)..\ @@ -396,7 +384,7 @@ Example of use: - + diff --git a/build/compile.bat b/build/compile.bat index 1cff094cc..b25c4c821 100644 --- a/build/compile.bat +++ b/build/compile.bat @@ -61,15 +61,6 @@ if %__BuildVersion% LSS 17 ( set XXMSBUILD=msbuild.exe set _platform_target=Mixed Platforms -rem Build SDK packages (required before any project can load) -echo Building SDK packages... -dotnet build "%~dp0..\sources\sdk\Stride.Build.Sdk.slnx" -v:m -if %ERRORLEVEL% NEQ 0 ( - echo Error: Failed to build SDK packages. All projects depend on these. - goto exit -) -echo. - rem Compiling the various solutions set Project=Stride.slnx diff --git a/build/docs/SDK-GUIDE.md b/build/docs/SDK-GUIDE.md index d9743d652..3c62c242b 100644 --- a/build/docs/SDK-GUIDE.md +++ b/build/docs/SDK-GUIDE.md @@ -1,6 +1,6 @@ # Stride Build System (SDK) -The Stride build system is implemented as a set of MSBuild SDK packages under `sources/sdk/`. All projects use `` (or `Stride.Build.Sdk.Editor` / `Stride.Build.Sdk.Tests`), following .NET SDK conventions. +The Stride build system is implemented as a set of MSBuild SDK packages under `sources/sdk/`. All projects import the SDK files directly from source using `$(StrideRoot)`-relative paths (see [How Projects Import the SDK](#how-projects-import-the-sdk)). ## SDK Packages @@ -38,12 +38,139 @@ Only one version of each SDK can be active during a build. --- +## How Projects Import the SDK + +All Stride projects import the SDK files directly from source: + +```xml + + + + + true + + + + +``` + +The **props import** uses `GetDirectoryNameOfFileAbove` — a static MSBuild function that locates the nearest `Directory.Build.props` without relying on any pre-set property (see [How $(StrideRoot) is set](#how-strideroot-is-set) for why this is necessary). + +The **targets import** uses `$(StrideRoot)` because `Directory.Build.props` has already been evaluated by that point. + +This replaces the earlier `` style which required the SDK packages to be pre-built and cached in `~/.nuget/packages/` before any project could load. + +### Why direct imports? + +The `Sdk="..."` attribute triggers MSBuild SDK resolution before any target runs, so a missing package prevents the solution from opening in Visual Studio. With direct imports, `.props` and `.targets` files are loaded from their source location — edits take effect immediately with no rebuild or cache clear. + +### How $(StrideRoot) is set + +`sources/Directory.Build.props` defines: + +```xml +$(MSBuildThisFileDirectory)../ +``` + +`$(MSBuildThisFileDirectory)` evaluates to the directory of `Directory.Build.props` itself — i.e., `sources/`. So `$(StrideRoot)` becomes the repo root. + +**Bootstrap constraint:** `Directory.Build.props` is auto-discovered during `Microsoft.Common.props` evaluation, which happens inside `Microsoft.NET.Sdk/Sdk.props` — which is itself imported inside `Stride.Build.Sdk/Sdk/Sdk.props`. This means `$(StrideRoot)` is **not yet set** when MSBuild evaluates the opening props `` in a project file, because loading `Sdk.props` is precisely what triggers `Directory.Build.props` discovery. + +The props import therefore uses a static MSBuild function that needs no pre-set property: + +```xml + +``` + +By the time the project file reaches the closing targets ``, `Directory.Build.props` has been evaluated and `$(StrideRoot)` is available: + +```xml + +``` + +### Reverting to full-SDK style + +To go back to ``: + +**Step 1 — Restore SDK internal cross-references (4 files):** + +`sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.props` — replace: +```xml + +``` +with: +```xml + +``` + +`sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.targets` — replace: +```xml + +``` +with: +```xml + +``` + +`sources/sdk/Stride.Build.Sdk.Tests/Sdk/Sdk.props` — replace: +```xml + +``` +with: +```xml + +``` + +`sources/sdk/Stride.Build.Sdk.Tests/Sdk/Sdk.targets` — replace: +```xml + +``` +with: +```xml + +``` + +**Step 2 — Restore project files:** + +Use `git` to revert the project file changes (all 125 `.csproj` files). The direct-import form was introduced in one commit, so a targeted revert or checkout is the most reliable approach. + +**Step 3 — Uncomment `global.json` `msbuild-sdks` entries.** + +**Step 4 — Uncomment `nuget.config` `packageSourceMapping` entry and re-add the `stride-sdks` source.** + +**Step 5 — Re-add `BuildSdk` target to `build/Stride.build`:** + +Restore the target and add `DependsOnTargets="BuildSdk"` (or `BuildSdk;` prefix where multiple dependencies exist) to: `Build`, `BuildRuntime`, `BuildWindows`, `BuildWindowsDirect3D11`, `BuildWindowsDirect3D12`, `BuildWindowsOpenGL`, `BuildWindowsOpenGLES`, `BuildAndroid`, `BuildiOS`, `BuildUWP`, `BuildWindowsVulkan`, `BuildLinux`, `BuildLinuxVulkan`, `BuildmacOS`, `BuildLauncher`, `RunTestsWindows`, `RunTestsMobile`. + +```xml + + + + $(StrideRoot)sources\sdk\Stride.Build.Sdk.slnx + + + + +``` + +**Step 6 — Build the SDK packages:** + +```bash +dotnet build sources/sdk/Stride.Build.Sdk.slnx +``` + +--- + ## Project Examples ### Runtime library ```xml - + + true true @@ -51,26 +178,31 @@ Only one version of each SDK can be active during a build. + ``` ### Editor / tool project ```xml - + + $(StrideEditorTargetFramework) + ``` ### Test project ```xml - + + + ``` @@ -342,7 +474,9 @@ The `.ssdeps` system (`Stride.Dependencies.targets`) handles native library dist ### Building the SDK -After modifying SDK source, rebuild and clear the NuGet cache: +The SDK packages don't need to be built for day-to-day development — projects now import SDK files directly from source. Rebuild the SDK packages only when preparing a NuGet release or when testing the full-SDK (`Sdk="Stride.Build.Sdk"`) mode. + +If you do need to build the packages (e.g. for a NuGet release), rebuild and clear the NuGet cache: ```bash # 1. Kill any running MSBuild/dotnet processes @@ -446,15 +580,7 @@ NuGet's `build/` convention auto-imports `.props` and `.targets` files even for ### Build fails after SDK changes -Kill dotnet processes and clear NuGet cache: - -```bash -taskkill /F /IM dotnet.exe 2>nul -rmdir /s /q "%USERPROFILE%\.nuget\packages\stride.build.sdk" 2>nul -rmdir /s /q "%USERPROFILE%\.nuget\packages\stride.build.sdk.editor" 2>nul -rmdir /s /q "%USERPROFILE%\.nuget\packages\stride.build.sdk.tests" 2>nul -dotnet build sources\sdk\Stride.Build.Sdk.slnx -``` +SDK files are imported directly from source — changes take effect on the next build with no cache clear needed. If you are testing the NuGet package mode (`Sdk="Stride.Build.Sdk"`), then after SDK changes you still need to kill dotnet processes, clear the cache, and rebuild the packages. See "Building the SDK" above. ### Configuration is empty (`bin\net10.0\` instead of `bin\Debug\net10.0\`) diff --git a/global.json b/global.json index e7d560d5a..4a6153261 100644 --- a/global.json +++ b/global.json @@ -4,8 +4,9 @@ "rollForward": "latestMinor" }, "msbuild-sdks": { - "Stride.Build.Sdk": "4.3.0-dev", - "Stride.Build.Sdk.Editor": "4.3.0-dev", - "Stride.Build.Sdk.Tests": "4.3.0-dev" + // Uncomment if switching back to Sdk="Stride.Build.Sdk" project style. + // "Stride.Build.Sdk": "4.3.0-dev", + // "Stride.Build.Sdk.Editor": "4.3.0-dev", + // "Stride.Build.Sdk.Tests": "4.3.0-dev" } } diff --git a/nuget.config b/nuget.config index 97fa62dc6..44a3be800 100644 --- a/nuget.config +++ b/nuget.config @@ -2,14 +2,16 @@ - + + - + + diff --git a/samples/Tests/Stride.Samples.Tests.csproj b/samples/Tests/Stride.Samples.Tests.csproj index 7a8a33490..cc9601fc2 100644 --- a/samples/Tests/Stride.Samples.Tests.csproj +++ b/samples/Tests/Stride.Samples.Tests.csproj @@ -1,6 +1,9 @@ - + $(MSBuildThisFileDirectory)..\..\ + + + false $(StrideEditorTargetFramework) win-x64 @@ -37,4 +40,5 @@ + diff --git a/sources/Directory.Build.props b/sources/Directory.Build.props index 738d30ffe..f74c61095 100644 --- a/sources/Directory.Build.props +++ b/sources/Directory.Build.props @@ -1,6 +1,12 @@ - + $(MSBuildThisFileDirectory)../ \ No newline at end of file diff --git a/sources/README.md b/sources/README.md index 74f83fd76..6ecbe2b86 100644 --- a/sources/README.md +++ b/sources/README.md @@ -3,15 +3,9 @@ Stride Sources ## Build System -All Stride projects use SDK-style `.csproj` files with a custom MSBuild SDK: +All Stride projects import the MSBuild SDK files directly from source. The props import uses `GetDirectoryNameOfFileAbove` to locate `Directory.Build.props` without relying on any pre-set property; the targets import uses `$(StrideRoot)` (set by `sources/Directory.Build.props`, available by that point in the evaluation). See [SDK-GUIDE.md](../build/docs/SDK-GUIDE.md) for details. -```xml - -``` - -The SDK packages are defined in `sources/sdk/` and must be built before any other project can be loaded or built. See the [root README](../README.md#build-stride) for build instructions. - -Three SDK packages exist: +Three SDK packages are defined in `sources/sdk/`: | Package | Purpose | |---------|---------| @@ -70,26 +64,30 @@ There are two options to integrate this repository in your own repository: ### Basic use ### -Projects should reference the Stride MSBuild SDK instead of importing targets manually: +Projects import the Stride MSBuild SDK files directly from source: ```xml - + + net10.0 + ``` -Make sure your `global.json` includes the SDK version mapping and your `nuget.config` points to the `build/packages/` folder where the SDK `.nupkg` files are produced. See the [root README](../README.md#build-stride) for full setup instructions. +The props import uses `GetDirectoryNameOfFileAbove` because `$(StrideRoot)` is not yet available at that point (it is set by `sources/Directory.Build.props`, which is discovered during the SDK initialization triggered by the props import itself). The targets import at the bottom uses `$(StrideRoot)` because `Directory.Build.props` has been evaluated by then. ### Optional: Activate assembly processor ### If you want to use auto-generated `Serialization` code, some of `Utilities` functions or `ModuleInitializer`, enable the assembly processor in your project file: ```xml - + + true + ``` diff --git a/sources/assets/Stride.Core.Assets.CompilerApp/Stride.Core.Assets.CompilerApp.csproj b/sources/assets/Stride.Core.Assets.CompilerApp/Stride.Core.Assets.CompilerApp.csproj index 1dbd2faec..4da09c08a 100644 --- a/sources/assets/Stride.Core.Assets.CompilerApp/Stride.Core.Assets.CompilerApp.csproj +++ b/sources/assets/Stride.Core.Assets.CompilerApp/Stride.Core.Assets.CompilerApp.csproj @@ -1,4 +1,5 @@ - + + Exe true @@ -30,4 +31,5 @@ + diff --git a/sources/assets/Stride.Core.Assets.Quantum.Tests/Stride.Core.Assets.Quantum.Tests.csproj b/sources/assets/Stride.Core.Assets.Quantum.Tests/Stride.Core.Assets.Quantum.Tests.csproj index eea265091..d654ae418 100644 --- a/sources/assets/Stride.Core.Assets.Quantum.Tests/Stride.Core.Assets.Quantum.Tests.csproj +++ b/sources/assets/Stride.Core.Assets.Quantum.Tests/Stride.Core.Assets.Quantum.Tests.csproj @@ -1,4 +1,5 @@ - + + linux-x64;win-x64 enable @@ -19,4 +20,5 @@ + diff --git a/sources/assets/Stride.Core.Assets.Quantum/Stride.Core.Assets.Quantum.csproj b/sources/assets/Stride.Core.Assets.Quantum/Stride.Core.Assets.Quantum.csproj index ff59f9bc8..f07863906 100644 --- a/sources/assets/Stride.Core.Assets.Quantum/Stride.Core.Assets.Quantum.csproj +++ b/sources/assets/Stride.Core.Assets.Quantum/Stride.Core.Assets.Quantum.csproj @@ -1,4 +1,5 @@ - + + true $(StrideXplatEditorTargetFramework) @@ -23,4 +24,5 @@ + diff --git a/sources/assets/Stride.Core.Assets.Tests/Stride.Core.Assets.Tests.csproj b/sources/assets/Stride.Core.Assets.Tests/Stride.Core.Assets.Tests.csproj index 23ed6ad4a..86bc3eaf5 100644 --- a/sources/assets/Stride.Core.Assets.Tests/Stride.Core.Assets.Tests.csproj +++ b/sources/assets/Stride.Core.Assets.Tests/Stride.Core.Assets.Tests.csproj @@ -1,4 +1,5 @@ - + + linux-x64;win-x64 enable @@ -46,4 +47,5 @@ PreserveNewest + diff --git a/sources/assets/Stride.Core.Assets/Stride.Core.Assets.csproj b/sources/assets/Stride.Core.Assets/Stride.Core.Assets.csproj index 8b153e24b..b68ba0c4a 100644 --- a/sources/assets/Stride.Core.Assets/Stride.Core.Assets.csproj +++ b/sources/assets/Stride.Core.Assets/Stride.Core.Assets.csproj @@ -1,4 +1,5 @@ - + + true $(StrideXplatEditorTargetFramework) @@ -43,4 +44,5 @@ + diff --git a/sources/assets/Stride.Core.Packages/Stride.Core.Packages.csproj b/sources/assets/Stride.Core.Packages/Stride.Core.Packages.csproj index 20a63e6ee..556a65f74 100644 --- a/sources/assets/Stride.Core.Packages/Stride.Core.Packages.csproj +++ b/sources/assets/Stride.Core.Packages/Stride.Core.Packages.csproj @@ -1,4 +1,5 @@ - + + true $(StrideXplatEditorTargetFramework) @@ -36,4 +37,5 @@ TargetGenerator.cs + diff --git a/sources/buildengine/Stride.Core.BuildEngine.Common/Stride.Core.BuildEngine.Common.csproj b/sources/buildengine/Stride.Core.BuildEngine.Common/Stride.Core.BuildEngine.Common.csproj index 07e17ed5b..db0cc9a60 100644 --- a/sources/buildengine/Stride.Core.BuildEngine.Common/Stride.Core.BuildEngine.Common.csproj +++ b/sources/buildengine/Stride.Core.BuildEngine.Common/Stride.Core.BuildEngine.Common.csproj @@ -1,4 +1,5 @@ - + + $(StrideXplatEditorTargetFramework) enable @@ -22,4 +23,5 @@ + diff --git a/sources/buildengine/Stride.Core.BuildEngine.Tests/Stride.Core.BuildEngine.Tests.csproj b/sources/buildengine/Stride.Core.BuildEngine.Tests/Stride.Core.BuildEngine.Tests.csproj index dd169ae21..de536ce8f 100644 --- a/sources/buildengine/Stride.Core.BuildEngine.Tests/Stride.Core.BuildEngine.Tests.csproj +++ b/sources/buildengine/Stride.Core.BuildEngine.Tests/Stride.Core.BuildEngine.Tests.csproj @@ -1,4 +1,5 @@ - + + linux-x64;win-x64 @@ -6,4 +7,5 @@ + diff --git a/sources/core/Stride.Core.CompilerServices.Tests/Stride.Core.CompilerServices.Tests.csproj b/sources/core/Stride.Core.CompilerServices.Tests/Stride.Core.CompilerServices.Tests.csproj index bfcfb929b..506b4e8f1 100644 --- a/sources/core/Stride.Core.CompilerServices.Tests/Stride.Core.CompilerServices.Tests.csproj +++ b/sources/core/Stride.Core.CompilerServices.Tests/Stride.Core.CompilerServices.Tests.csproj @@ -1,4 +1,5 @@ - + + enable latest @@ -21,4 +22,5 @@ + diff --git a/sources/core/Stride.Core.CompilerServices/Stride.Core.CompilerServices.csproj b/sources/core/Stride.Core.CompilerServices/Stride.Core.CompilerServices.csproj index 52f328dc6..42981da85 100644 --- a/sources/core/Stride.Core.CompilerServices/Stride.Core.CompilerServices.csproj +++ b/sources/core/Stride.Core.CompilerServices/Stride.Core.CompilerServices.csproj @@ -1,4 +1,5 @@ - + + netstandard2.0 Code generators for Stride.Core and its dependents @@ -34,4 +35,5 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/sources/core/Stride.Core.Design.Tests/Stride.Core.Design.Tests.csproj b/sources/core/Stride.Core.Design.Tests/Stride.Core.Design.Tests.csproj index e4df8f796..88a70851e 100644 --- a/sources/core/Stride.Core.Design.Tests/Stride.Core.Design.Tests.csproj +++ b/sources/core/Stride.Core.Design.Tests/Stride.Core.Design.Tests.csproj @@ -1,4 +1,5 @@ - + + enable latest @@ -9,4 +10,5 @@ + diff --git a/sources/core/Stride.Core.Design/Stride.Core.Design.csproj b/sources/core/Stride.Core.Design/Stride.Core.Design.csproj index 129b91f55..5dde654ed 100644 --- a/sources/core/Stride.Core.Design/Stride.Core.Design.csproj +++ b/sources/core/Stride.Core.Design/Stride.Core.Design.csproj @@ -1,4 +1,5 @@ - + + true enable @@ -29,4 +30,5 @@ + diff --git a/sources/core/Stride.Core.IO/Stride.Core.IO.csproj b/sources/core/Stride.Core.IO/Stride.Core.IO.csproj index c68076efc..5e47569be 100644 --- a/sources/core/Stride.Core.IO/Stride.Core.IO.csproj +++ b/sources/core/Stride.Core.IO/Stride.Core.IO.csproj @@ -1,4 +1,5 @@ - + + Stride Core IO assembly. true @@ -28,4 +29,5 @@ + diff --git a/sources/core/Stride.Core.Mathematics.Tests/Stride.Core.Mathematics.Tests.csproj b/sources/core/Stride.Core.Mathematics.Tests/Stride.Core.Mathematics.Tests.csproj index fc34b785a..ac0ff21ef 100644 --- a/sources/core/Stride.Core.Mathematics.Tests/Stride.Core.Mathematics.Tests.csproj +++ b/sources/core/Stride.Core.Mathematics.Tests/Stride.Core.Mathematics.Tests.csproj @@ -1,4 +1,5 @@ - + + enable latest @@ -15,4 +16,5 @@ + diff --git a/sources/core/Stride.Core.Mathematics/Stride.Core.Mathematics.csproj b/sources/core/Stride.Core.Mathematics/Stride.Core.Mathematics.csproj index a30e6bf8c..40fff2a71 100644 --- a/sources/core/Stride.Core.Mathematics/Stride.Core.Mathematics.csproj +++ b/sources/core/Stride.Core.Mathematics/Stride.Core.Mathematics.csproj @@ -1,4 +1,5 @@ - + + true enable @@ -23,4 +24,5 @@ + diff --git a/sources/core/Stride.Core.MicroThreading/Stride.Core.MicroThreading.csproj b/sources/core/Stride.Core.MicroThreading/Stride.Core.MicroThreading.csproj index 72978325b..f1a8ac94a 100644 --- a/sources/core/Stride.Core.MicroThreading/Stride.Core.MicroThreading.csproj +++ b/sources/core/Stride.Core.MicroThreading/Stride.Core.MicroThreading.csproj @@ -1,4 +1,5 @@ - + + true enable @@ -23,4 +24,5 @@ + diff --git a/sources/core/Stride.Core.Reflection/Stride.Core.Reflection.csproj b/sources/core/Stride.Core.Reflection/Stride.Core.Reflection.csproj index 08acd5b08..9eb3049ba 100644 --- a/sources/core/Stride.Core.Reflection/Stride.Core.Reflection.csproj +++ b/sources/core/Stride.Core.Reflection/Stride.Core.Reflection.csproj @@ -1,4 +1,5 @@ - + + enable latest @@ -15,4 +16,5 @@ + diff --git a/sources/core/Stride.Core.Serialization/Stride.Core.Serialization.csproj b/sources/core/Stride.Core.Serialization/Stride.Core.Serialization.csproj index 7aa2ef3f0..dc5130e61 100644 --- a/sources/core/Stride.Core.Serialization/Stride.Core.Serialization.csproj +++ b/sources/core/Stride.Core.Serialization/Stride.Core.Serialization.csproj @@ -1,4 +1,5 @@ - + + true enable @@ -28,4 +29,5 @@ + diff --git a/sources/core/Stride.Core.Tasks/Stride.Core.Tasks.csproj b/sources/core/Stride.Core.Tasks/Stride.Core.Tasks.csproj index c630e34bb..21257f0af 100644 --- a/sources/core/Stride.Core.Tasks/Stride.Core.Tasks.csproj +++ b/sources/core/Stride.Core.Tasks/Stride.Core.Tasks.csproj @@ -1,4 +1,5 @@ - + + true Exe @@ -30,4 +31,5 @@ + diff --git a/sources/core/Stride.Core.Tests/Stride.Core.Tests.Android.csproj b/sources/core/Stride.Core.Tests/Stride.Core.Tests.Android.csproj index b003d9776..5290588e8 100644 --- a/sources/core/Stride.Core.Tests/Stride.Core.Tests.Android.csproj +++ b/sources/core/Stride.Core.Tests/Stride.Core.Tests.Android.csproj @@ -1,4 +1,5 @@ - + + net10.0-android enable @@ -16,4 +17,5 @@ + diff --git a/sources/core/Stride.Core.Tests/Stride.Core.Tests.csproj b/sources/core/Stride.Core.Tests/Stride.Core.Tests.csproj index 4751e6d72..39c64b839 100644 --- a/sources/core/Stride.Core.Tests/Stride.Core.Tests.csproj +++ b/sources/core/Stride.Core.Tests/Stride.Core.Tests.csproj @@ -1,4 +1,5 @@ - + + enable latest @@ -15,4 +16,5 @@ + diff --git a/sources/core/Stride.Core.Tests/Stride.Core.Tests.iOS.csproj b/sources/core/Stride.Core.Tests/Stride.Core.Tests.iOS.csproj index ce4a2b7cb..b61fb1d60 100644 --- a/sources/core/Stride.Core.Tests/Stride.Core.Tests.iOS.csproj +++ b/sources/core/Stride.Core.Tests/Stride.Core.Tests.iOS.csproj @@ -1,4 +1,5 @@ - + + net10.0-ios enable @@ -16,4 +17,5 @@ + diff --git a/sources/core/Stride.Core.Translation/Stride.Core.Translation.csproj b/sources/core/Stride.Core.Translation/Stride.Core.Translation.csproj index facdbe2a7..bf3e51fe3 100644 --- a/sources/core/Stride.Core.Translation/Stride.Core.Translation.csproj +++ b/sources/core/Stride.Core.Translation/Stride.Core.Translation.csproj @@ -1,4 +1,5 @@ - + + enable latest @@ -21,4 +22,5 @@ + diff --git a/sources/core/Stride.Core.Yaml.Tests/Stride.Core.Yaml.Tests.csproj b/sources/core/Stride.Core.Yaml.Tests/Stride.Core.Yaml.Tests.csproj index 572762728..ff9bc44fa 100644 --- a/sources/core/Stride.Core.Yaml.Tests/Stride.Core.Yaml.Tests.csproj +++ b/sources/core/Stride.Core.Yaml.Tests/Stride.Core.Yaml.Tests.csproj @@ -1,4 +1,5 @@ - + + enable latest @@ -12,4 +13,5 @@ + diff --git a/sources/core/Stride.Core.Yaml/Stride.Core.Yaml.csproj b/sources/core/Stride.Core.Yaml/Stride.Core.Yaml.csproj index 85af971e4..0d7deefd8 100644 --- a/sources/core/Stride.Core.Yaml/Stride.Core.Yaml.csproj +++ b/sources/core/Stride.Core.Yaml/Stride.Core.Yaml.csproj @@ -1,4 +1,5 @@ - + + true $(StrideXplatEditorTargetFramework) @@ -13,4 +14,5 @@ + diff --git a/sources/core/Stride.Core/Stride.Core.csproj b/sources/core/Stride.Core/Stride.Core.csproj index 98832c449..7980d0988 100644 --- a/sources/core/Stride.Core/Stride.Core.csproj +++ b/sources/core/Stride.Core/Stride.Core.csproj @@ -1,4 +1,5 @@ - + + Core assembly for all Stride assemblies. true @@ -88,4 +89,5 @@ + diff --git a/sources/editor/Stride.Assets.Presentation/Stride.Assets.Presentation.csproj b/sources/editor/Stride.Assets.Presentation/Stride.Assets.Presentation.csproj index 7b2eb2c9e..c70412caf 100644 --- a/sources/editor/Stride.Assets.Presentation/Stride.Assets.Presentation.csproj +++ b/sources/editor/Stride.Assets.Presentation/Stride.Assets.Presentation.csproj @@ -1,4 +1,5 @@ - + + true true @@ -119,4 +120,5 @@ + diff --git a/sources/editor/Stride.Core.Assets.Editor.Tests/Stride.Core.Assets.Editor.Tests.csproj b/sources/editor/Stride.Core.Assets.Editor.Tests/Stride.Core.Assets.Editor.Tests.csproj index 63e5659a4..af0f08f35 100644 --- a/sources/editor/Stride.Core.Assets.Editor.Tests/Stride.Core.Assets.Editor.Tests.csproj +++ b/sources/editor/Stride.Core.Assets.Editor.Tests/Stride.Core.Assets.Editor.Tests.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) win-x64 @@ -11,4 +12,5 @@ + diff --git a/sources/editor/Stride.Core.Assets.Editor/Stride.Core.Assets.Editor.csproj b/sources/editor/Stride.Core.Assets.Editor/Stride.Core.Assets.Editor.csproj index 3a04a5488..bc89e7187 100644 --- a/sources/editor/Stride.Core.Assets.Editor/Stride.Core.Assets.Editor.csproj +++ b/sources/editor/Stride.Core.Assets.Editor/Stride.Core.Assets.Editor.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) enable @@ -67,4 +68,5 @@ + diff --git a/sources/editor/Stride.Editor.CrashReport/Stride.Editor.CrashReport.csproj b/sources/editor/Stride.Editor.CrashReport/Stride.Editor.CrashReport.csproj index 2feb35a49..25a91b993 100644 --- a/sources/editor/Stride.Editor.CrashReport/Stride.Editor.CrashReport.csproj +++ b/sources/editor/Stride.Editor.CrashReport/Stride.Editor.CrashReport.csproj @@ -1,7 +1,9 @@ - + + $(StrideEditorTargetFramework) true true + diff --git a/sources/editor/Stride.Editor/Stride.Editor.csproj b/sources/editor/Stride.Editor/Stride.Editor.csproj index 45d825a35..447145f09 100644 --- a/sources/editor/Stride.Editor/Stride.Editor.csproj +++ b/sources/editor/Stride.Editor/Stride.Editor.csproj @@ -1,4 +1,5 @@ - + + true true @@ -56,4 +57,5 @@ DefaultThumbnails.Designer.cs + diff --git a/sources/editor/Stride.GameStudio.Tests/Stride.GameStudio.Tests.csproj b/sources/editor/Stride.GameStudio.Tests/Stride.GameStudio.Tests.csproj index 59b2b6375..9da1c2b2d 100644 --- a/sources/editor/Stride.GameStudio.Tests/Stride.GameStudio.Tests.csproj +++ b/sources/editor/Stride.GameStudio.Tests/Stride.GameStudio.Tests.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) win-x64 @@ -17,4 +18,5 @@ + diff --git a/sources/editor/Stride.GameStudio/Stride.GameStudio.csproj b/sources/editor/Stride.GameStudio/Stride.GameStudio.csproj index faba6507f..cfbb7017f 100644 --- a/sources/editor/Stride.GameStudio/Stride.GameStudio.csproj +++ b/sources/editor/Stride.GameStudio/Stride.GameStudio.csproj @@ -1,4 +1,5 @@ - + + @@ -132,4 +133,5 @@ + diff --git a/sources/editor/Stride.Samples.Templates/Stride.Samples.Templates.csproj b/sources/editor/Stride.Samples.Templates/Stride.Samples.Templates.csproj index 402246827..db485672d 100644 --- a/sources/editor/Stride.Samples.Templates/Stride.Samples.Templates.csproj +++ b/sources/editor/Stride.Samples.Templates/Stride.Samples.Templates.csproj @@ -1,4 +1,5 @@ - + + true $(StrideEditorTargetFramework) @@ -22,4 +23,5 @@ + diff --git a/sources/engine/Stride.Assets.Models/Stride.Assets.Models.csproj b/sources/engine/Stride.Assets.Models/Stride.Assets.Models.csproj index 0f8c979b3..24f3d9217 100644 --- a/sources/engine/Stride.Assets.Models/Stride.Assets.Models.csproj +++ b/sources/engine/Stride.Assets.Models/Stride.Assets.Models.csproj @@ -1,4 +1,5 @@ - + + true --parameter-key --auto-module-initializer --serialization @@ -36,4 +37,5 @@ + diff --git a/sources/engine/Stride.Assets.Tests/Stride.Assets.Tests.csproj b/sources/engine/Stride.Assets.Tests/Stride.Assets.Tests.csproj index 764282a15..6b92927dd 100644 --- a/sources/engine/Stride.Assets.Tests/Stride.Assets.Tests.csproj +++ b/sources/engine/Stride.Assets.Tests/Stride.Assets.Tests.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) enable @@ -97,4 +98,5 @@ + diff --git a/sources/engine/Stride.Assets.Tests2/Stride.Assets.Tests2.csproj b/sources/engine/Stride.Assets.Tests2/Stride.Assets.Tests2.csproj index 04fbb227a..290e45686 100644 --- a/sources/engine/Stride.Assets.Tests2/Stride.Assets.Tests2.csproj +++ b/sources/engine/Stride.Assets.Tests2/Stride.Assets.Tests2.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) win-x64 @@ -20,4 +21,5 @@ + diff --git a/sources/engine/Stride.Assets/Stride.Assets.csproj b/sources/engine/Stride.Assets/Stride.Assets.csproj index 928e54cc9..b6f7008c0 100644 --- a/sources/engine/Stride.Assets/Stride.Assets.csproj +++ b/sources/engine/Stride.Assets/Stride.Assets.csproj @@ -1,4 +1,5 @@ - + + true $(StrideXplatEditorTargetFramework) @@ -88,4 +89,5 @@ + diff --git a/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.Android.csproj b/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.Android.csproj index 194e1743c..f1f260029 100644 --- a/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.Android.csproj +++ b/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.Android.csproj @@ -1,4 +1,5 @@ - + + net10.0-android Stride.Audio.Tests @@ -71,4 +72,5 @@ + diff --git a/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.Windows.csproj b/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.Windows.csproj index c1ff8e970..c4b9f4c30 100644 --- a/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.Windows.csproj +++ b/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -74,4 +75,5 @@ + diff --git a/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.iOS.csproj b/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.iOS.csproj index 56b899485..4d5b61d9c 100644 --- a/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.iOS.csproj +++ b/sources/engine/Stride.Audio.Tests/Stride.Audio.Tests.iOS.csproj @@ -1,4 +1,5 @@ - + + net10.0-ios Stride.Audio.Tests @@ -71,4 +72,5 @@ + diff --git a/sources/engine/Stride.Audio/Stride.Audio.csproj b/sources/engine/Stride.Audio/Stride.Audio.csproj index 44ca2efc7..f5a99a5ec 100644 --- a/sources/engine/Stride.Audio/Stride.Audio.csproj +++ b/sources/engine/Stride.Audio/Stride.Audio.csproj @@ -1,4 +1,5 @@ - + + true libstrideaudio @@ -28,4 +29,5 @@ + diff --git a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Debug/Stride.BepuPhysics.Debug.csproj b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Debug/Stride.BepuPhysics.Debug.csproj index 825576661..758730ecb 100644 --- a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Debug/Stride.BepuPhysics.Debug.csproj +++ b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Debug/Stride.BepuPhysics.Debug.csproj @@ -1,4 +1,5 @@ - + + true Stride.BepuPhysics.Debug @@ -19,4 +20,5 @@ + diff --git a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Navigation/Stride.BepuPhysics.Navigation.csproj b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Navigation/Stride.BepuPhysics.Navigation.csproj index 92f7762bd..f506056e7 100644 --- a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Navigation/Stride.BepuPhysics.Navigation.csproj +++ b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Navigation/Stride.BepuPhysics.Navigation.csproj @@ -1,4 +1,5 @@ - + + true enable @@ -16,4 +17,5 @@ + diff --git a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Soft/Stride.BepuPhysics.Soft.csproj b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Soft/Stride.BepuPhysics.Soft.csproj index 0af1acdf1..7f28b2844 100644 --- a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Soft/Stride.BepuPhysics.Soft.csproj +++ b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Soft/Stride.BepuPhysics.Soft.csproj @@ -1,4 +1,5 @@ - + + true enable @@ -17,4 +18,5 @@ + diff --git a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Tests/Stride.BepuPhysics.Tests.csproj b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Tests/Stride.BepuPhysics.Tests.csproj index 7396c3441..749eec7c7 100644 --- a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Tests/Stride.BepuPhysics.Tests.csproj +++ b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics.Tests/Stride.BepuPhysics.Tests.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -20,4 +21,5 @@ + diff --git a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics._2D/Stride.BepuPhysics._2D.csproj b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics._2D/Stride.BepuPhysics._2D.csproj index 13f694d2f..c0e684f5a 100644 --- a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics._2D/Stride.BepuPhysics._2D.csproj +++ b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics._2D/Stride.BepuPhysics._2D.csproj @@ -1,4 +1,5 @@ - + + true enable @@ -12,4 +13,5 @@ + diff --git a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/Stride.BepuPhysics.csproj b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/Stride.BepuPhysics.csproj index 8c2424123..2eeaa9a21 100644 --- a/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/Stride.BepuPhysics.csproj +++ b/sources/engine/Stride.BepuPhysics/Stride.BepuPhysics/Stride.BepuPhysics.csproj @@ -1,4 +1,5 @@ - + + true enable @@ -19,4 +20,5 @@ + diff --git a/sources/engine/Stride.Debugger/Stride.Debugger.csproj b/sources/engine/Stride.Debugger/Stride.Debugger.csproj index d477c448b..e70ca5a96 100644 --- a/sources/engine/Stride.Debugger/Stride.Debugger.csproj +++ b/sources/engine/Stride.Debugger/Stride.Debugger.csproj @@ -1,4 +1,5 @@ - + + true Exe @@ -18,4 +19,5 @@ + diff --git a/sources/engine/Stride.Engine.NoAssets.Tests/Stride.Engine.NoAssets.Tests.Windows.csproj b/sources/engine/Stride.Engine.NoAssets.Tests/Stride.Engine.NoAssets.Tests.Windows.csproj index 09011264b..d8a0c4a6b 100644 --- a/sources/engine/Stride.Engine.NoAssets.Tests/Stride.Engine.NoAssets.Tests.Windows.csproj +++ b/sources/engine/Stride.Engine.NoAssets.Tests/Stride.Engine.NoAssets.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -13,4 +14,5 @@ + diff --git a/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.Android.csproj b/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.Android.csproj index 4bd924403..46825f6e4 100644 --- a/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.Android.csproj +++ b/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.Android.csproj @@ -1,4 +1,5 @@ - + + net10.0-android Stride.Engine.Tests @@ -89,4 +90,5 @@ + diff --git a/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.Windows.csproj b/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.Windows.csproj index 79c1574c7..caad29e10 100644 --- a/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.Windows.csproj +++ b/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -90,4 +91,5 @@ + diff --git a/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.iOS.csproj b/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.iOS.csproj index 98e9410c7..7f096b06d 100644 --- a/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.iOS.csproj +++ b/sources/engine/Stride.Engine.Tests/Stride.Engine.Tests.iOS.csproj @@ -1,4 +1,5 @@ - + + net10.0-ios Stride.Engine.Tests @@ -89,4 +90,5 @@ + diff --git a/sources/engine/Stride.Engine/Stride.Engine.csproj b/sources/engine/Stride.Engine/Stride.Engine.csproj index 26c02fc20..a7e58b883 100644 --- a/sources/engine/Stride.Engine/Stride.Engine.csproj +++ b/sources/engine/Stride.Engine/Stride.Engine.csproj @@ -1,4 +1,5 @@ - + + true Stride @@ -23,4 +24,5 @@ + diff --git a/sources/engine/Stride.FontCompiler/Stride.FontCompiler.csproj b/sources/engine/Stride.FontCompiler/Stride.FontCompiler.csproj index b2c5197b2..eb92d9d90 100644 --- a/sources/engine/Stride.FontCompiler/Stride.FontCompiler.csproj +++ b/sources/engine/Stride.FontCompiler/Stride.FontCompiler.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) @@ -15,4 +16,5 @@ + diff --git a/sources/engine/Stride.Games.Testing/Stride.Games.Testing.csproj b/sources/engine/Stride.Games.Testing/Stride.Games.Testing.csproj index a824c7858..bc5d5f8cb 100644 --- a/sources/engine/Stride.Games.Testing/Stride.Games.Testing.csproj +++ b/sources/engine/Stride.Games.Testing/Stride.Games.Testing.csproj @@ -1,4 +1,5 @@ - + + true true @@ -16,4 +17,5 @@ + diff --git a/sources/engine/Stride.Games/Stride.Games.csproj b/sources/engine/Stride.Games/Stride.Games.csproj index b3a17f0a3..8af50dddf 100644 --- a/sources/engine/Stride.Games/Stride.Games.csproj +++ b/sources/engine/Stride.Games/Stride.Games.csproj @@ -1,4 +1,5 @@ - + + true true @@ -26,4 +27,5 @@ + diff --git a/sources/engine/Stride.Graphics.Regression/Stride.Graphics.Regression.csproj b/sources/engine/Stride.Graphics.Regression/Stride.Graphics.Regression.csproj index 1be3d0723..dd6366869 100644 --- a/sources/engine/Stride.Graphics.Regression/Stride.Graphics.Regression.csproj +++ b/sources/engine/Stride.Graphics.Regression/Stride.Graphics.Regression.csproj @@ -1,4 +1,5 @@ - + + true true @@ -43,4 +44,5 @@ + diff --git a/sources/engine/Stride.Graphics.Tests.10_0/Stride.Graphics.Tests.10_0.Windows.csproj b/sources/engine/Stride.Graphics.Tests.10_0/Stride.Graphics.Tests.10_0.Windows.csproj index 7471bfec0..df080d4c6 100644 --- a/sources/engine/Stride.Graphics.Tests.10_0/Stride.Graphics.Tests.10_0.Windows.csproj +++ b/sources/engine/Stride.Graphics.Tests.10_0/Stride.Graphics.Tests.10_0.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -15,4 +16,5 @@ + diff --git a/sources/engine/Stride.Graphics.Tests.11_0/Stride.Graphics.Tests.11_0.Windows.csproj b/sources/engine/Stride.Graphics.Tests.11_0/Stride.Graphics.Tests.11_0.Windows.csproj index 7d94af972..0d70e92a5 100644 --- a/sources/engine/Stride.Graphics.Tests.11_0/Stride.Graphics.Tests.11_0.Windows.csproj +++ b/sources/engine/Stride.Graphics.Tests.11_0/Stride.Graphics.Tests.11_0.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -23,4 +24,5 @@ + diff --git a/sources/engine/Stride.Graphics.Tests/Stride.Graphics.Tests.Windows.csproj b/sources/engine/Stride.Graphics.Tests/Stride.Graphics.Tests.Windows.csproj index 1cf7338a7..9bd286aba 100644 --- a/sources/engine/Stride.Graphics.Tests/Stride.Graphics.Tests.Windows.csproj +++ b/sources/engine/Stride.Graphics.Tests/Stride.Graphics.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -22,4 +23,5 @@ + diff --git a/sources/engine/Stride.Graphics/Stride.Graphics.csproj b/sources/engine/Stride.Graphics/Stride.Graphics.csproj index d6562fb81..9dc76ca5a 100644 --- a/sources/engine/Stride.Graphics/Stride.Graphics.csproj +++ b/sources/engine/Stride.Graphics/Stride.Graphics.csproj @@ -1,4 +1,5 @@ - + + true true @@ -69,4 +70,5 @@ Designer + diff --git a/sources/engine/Stride.Input.Tests/Stride.Input.Tests.Android.csproj b/sources/engine/Stride.Input.Tests/Stride.Input.Tests.Android.csproj index dfb0a2611..4abc1680e 100644 --- a/sources/engine/Stride.Input.Tests/Stride.Input.Tests.Android.csproj +++ b/sources/engine/Stride.Input.Tests/Stride.Input.Tests.Android.csproj @@ -1,4 +1,5 @@ - + + net10.0-android Stride.Input.Tests @@ -38,4 +39,5 @@ + diff --git a/sources/engine/Stride.Input.Tests/Stride.Input.Tests.Windows.csproj b/sources/engine/Stride.Input.Tests/Stride.Input.Tests.Windows.csproj index b79240b77..55d820c08 100644 --- a/sources/engine/Stride.Input.Tests/Stride.Input.Tests.Windows.csproj +++ b/sources/engine/Stride.Input.Tests/Stride.Input.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -39,4 +40,5 @@ + diff --git a/sources/engine/Stride.Input.Tests/Stride.Input.Tests.iOS.csproj b/sources/engine/Stride.Input.Tests/Stride.Input.Tests.iOS.csproj index 9ff1398ed..b5e95dd99 100644 --- a/sources/engine/Stride.Input.Tests/Stride.Input.Tests.iOS.csproj +++ b/sources/engine/Stride.Input.Tests/Stride.Input.Tests.iOS.csproj @@ -1,4 +1,5 @@ - + + net10.0-ios Stride.Input.Tests @@ -38,4 +39,5 @@ + diff --git a/sources/engine/Stride.Input/Stride.Input.csproj b/sources/engine/Stride.Input/Stride.Input.csproj index 5b3f762e0..34ca2b7e3 100644 --- a/sources/engine/Stride.Input/Stride.Input.csproj +++ b/sources/engine/Stride.Input/Stride.Input.csproj @@ -1,4 +1,5 @@ - + + true true @@ -20,4 +21,5 @@ + diff --git a/sources/engine/Stride.Native/Stride.Native.csproj b/sources/engine/Stride.Native/Stride.Native.csproj index 3305c6654..df54f2a05 100644 --- a/sources/engine/Stride.Native/Stride.Native.csproj +++ b/sources/engine/Stride.Native/Stride.Native.csproj @@ -1,4 +1,5 @@ - + + true true @@ -20,4 +21,5 @@ + diff --git a/sources/engine/Stride.Navigation.Tests/Stride.Navigation.Tests.Windows.csproj b/sources/engine/Stride.Navigation.Tests/Stride.Navigation.Tests.Windows.csproj index 3acac16a3..ba0a69ce0 100644 --- a/sources/engine/Stride.Navigation.Tests/Stride.Navigation.Tests.Windows.csproj +++ b/sources/engine/Stride.Navigation.Tests/Stride.Navigation.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -23,4 +24,5 @@ + diff --git a/sources/engine/Stride.Navigation/Stride.Navigation.csproj b/sources/engine/Stride.Navigation/Stride.Navigation.csproj index ab4999700..d93080e67 100644 --- a/sources/engine/Stride.Navigation/Stride.Navigation.csproj +++ b/sources/engine/Stride.Navigation/Stride.Navigation.csproj @@ -1,4 +1,5 @@ - + + true true @@ -19,4 +20,5 @@ + diff --git a/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.Android.csproj b/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.Android.csproj index 42846e2de..e2d9905b8 100644 --- a/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.Android.csproj +++ b/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.Android.csproj @@ -1,4 +1,5 @@ - + + net10.0-android Stride.Particles.Tests @@ -58,4 +59,5 @@ + diff --git a/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.Windows.csproj b/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.Windows.csproj index 0beeb0feb..bd971f0f4 100644 --- a/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.Windows.csproj +++ b/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -59,4 +60,5 @@ + diff --git a/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.iOS.csproj b/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.iOS.csproj index 689fe88cf..fb1bbcd3a 100644 --- a/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.iOS.csproj +++ b/sources/engine/Stride.Particles.Tests/Stride.Particles.Tests.iOS.csproj @@ -1,4 +1,5 @@ - + + net10.0-ios Stride.Particles.Tests @@ -58,4 +59,5 @@ + diff --git a/sources/engine/Stride.Particles/Stride.Particles.csproj b/sources/engine/Stride.Particles/Stride.Particles.csproj index f78da1b4f..1f45d0a5c 100644 --- a/sources/engine/Stride.Particles/Stride.Particles.csproj +++ b/sources/engine/Stride.Particles/Stride.Particles.csproj @@ -1,4 +1,5 @@ - + + true true @@ -14,4 +15,5 @@ + diff --git a/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.Android.csproj b/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.Android.csproj index a49a2ee76..075b40ddd 100644 --- a/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.Android.csproj +++ b/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.Android.csproj @@ -1,4 +1,5 @@ - + + net10.0-android Stride.Physics.Tests @@ -27,4 +28,5 @@ + diff --git a/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.Windows.csproj b/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.Windows.csproj index 6eacb4ccc..1e0a34ea4 100644 --- a/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.Windows.csproj +++ b/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -28,4 +29,5 @@ + diff --git a/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.iOS.csproj b/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.iOS.csproj index 78318e2ff..fed89d355 100644 --- a/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.iOS.csproj +++ b/sources/engine/Stride.Physics.Tests/Stride.Physics.Tests.iOS.csproj @@ -1,4 +1,5 @@ - + + net10.0-ios Stride.Physics.Tests @@ -27,4 +28,5 @@ + diff --git a/sources/engine/Stride.Physics/Stride.Physics.csproj b/sources/engine/Stride.Physics/Stride.Physics.csproj index d106e75f6..9cc29e405 100644 --- a/sources/engine/Stride.Physics/Stride.Physics.csproj +++ b/sources/engine/Stride.Physics/Stride.Physics.csproj @@ -1,4 +1,5 @@ - + + true true @@ -33,4 +34,5 @@ + diff --git a/sources/engine/Stride.Rendering/Stride.Rendering.csproj b/sources/engine/Stride.Rendering/Stride.Rendering.csproj index e0e769a53..9b1082b47 100644 --- a/sources/engine/Stride.Rendering/Stride.Rendering.csproj +++ b/sources/engine/Stride.Rendering/Stride.Rendering.csproj @@ -1,4 +1,5 @@ - + + true true @@ -20,4 +21,5 @@ + diff --git a/sources/engine/Stride.Shaders.Compiler/Stride.Shaders.Compiler.csproj b/sources/engine/Stride.Shaders.Compiler/Stride.Shaders.Compiler.csproj index a242e8d1d..cef99dcfc 100644 --- a/sources/engine/Stride.Shaders.Compiler/Stride.Shaders.Compiler.csproj +++ b/sources/engine/Stride.Shaders.Compiler/Stride.Shaders.Compiler.csproj @@ -1,4 +1,5 @@ - + + true true @@ -32,4 +33,5 @@ + diff --git a/sources/engine/Stride.Shaders.Parser/Stride.Shaders.Parser.csproj b/sources/engine/Stride.Shaders.Parser/Stride.Shaders.Parser.csproj index 2de8d46ff..81ff30529 100644 --- a/sources/engine/Stride.Shaders.Parser/Stride.Shaders.Parser.csproj +++ b/sources/engine/Stride.Shaders.Parser/Stride.Shaders.Parser.csproj @@ -1,4 +1,5 @@ - + + true true @@ -17,4 +18,5 @@ + diff --git a/sources/engine/Stride.Shaders.Tests/Stride.Shaders.Tests.Windows.csproj b/sources/engine/Stride.Shaders.Tests/Stride.Shaders.Tests.Windows.csproj index 1bc2c6170..f6b9df46c 100644 --- a/sources/engine/Stride.Shaders.Tests/Stride.Shaders.Tests.Windows.csproj +++ b/sources/engine/Stride.Shaders.Tests/Stride.Shaders.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) win-x64 @@ -18,4 +19,5 @@ + diff --git a/sources/engine/Stride.Shaders/Stride.Shaders.csproj b/sources/engine/Stride.Shaders/Stride.Shaders.csproj index 73205325b..a0f80c4d8 100644 --- a/sources/engine/Stride.Shaders/Stride.Shaders.csproj +++ b/sources/engine/Stride.Shaders/Stride.Shaders.csproj @@ -1,4 +1,5 @@ - + + true true @@ -13,4 +14,5 @@ + \ No newline at end of file diff --git a/sources/engine/Stride.SpriteStudio.Offline/Stride.SpriteStudio.Offline.csproj b/sources/engine/Stride.SpriteStudio.Offline/Stride.SpriteStudio.Offline.csproj index 1ed3fc8f4..6e44669d8 100644 --- a/sources/engine/Stride.SpriteStudio.Offline/Stride.SpriteStudio.Offline.csproj +++ b/sources/engine/Stride.SpriteStudio.Offline/Stride.SpriteStudio.Offline.csproj @@ -1,4 +1,5 @@ - + + true $(StrideXplatEditorTargetFramework) @@ -23,4 +24,5 @@ + diff --git a/sources/engine/Stride.SpriteStudio.Runtime/Stride.SpriteStudio.Runtime.csproj b/sources/engine/Stride.SpriteStudio.Runtime/Stride.SpriteStudio.Runtime.csproj index d0747796b..d4a1dd964 100644 --- a/sources/engine/Stride.SpriteStudio.Runtime/Stride.SpriteStudio.Runtime.csproj +++ b/sources/engine/Stride.SpriteStudio.Runtime/Stride.SpriteStudio.Runtime.csproj @@ -1,4 +1,5 @@ - + + true true @@ -13,4 +14,5 @@ + diff --git a/sources/engine/Stride.UI.Tests/Stride.UI.Tests.Android.csproj b/sources/engine/Stride.UI.Tests/Stride.UI.Tests.Android.csproj index 892ca150e..6bad61a3c 100644 --- a/sources/engine/Stride.UI.Tests/Stride.UI.Tests.Android.csproj +++ b/sources/engine/Stride.UI.Tests/Stride.UI.Tests.Android.csproj @@ -1,4 +1,5 @@ - + + net10.0-android Stride.UI.Tests @@ -130,4 +131,5 @@ + diff --git a/sources/engine/Stride.UI.Tests/Stride.UI.Tests.Windows.csproj b/sources/engine/Stride.UI.Tests/Stride.UI.Tests.Windows.csproj index 78b35a2a4..c2a5815cb 100644 --- a/sources/engine/Stride.UI.Tests/Stride.UI.Tests.Windows.csproj +++ b/sources/engine/Stride.UI.Tests/Stride.UI.Tests.Windows.csproj @@ -1,4 +1,5 @@ - + + net10.0 win-x64 @@ -132,4 +133,5 @@ + diff --git a/sources/engine/Stride.UI.Tests/Stride.UI.Tests.iOS.csproj b/sources/engine/Stride.UI.Tests/Stride.UI.Tests.iOS.csproj index da7dbec09..d024b49ef 100644 --- a/sources/engine/Stride.UI.Tests/Stride.UI.Tests.iOS.csproj +++ b/sources/engine/Stride.UI.Tests/Stride.UI.Tests.iOS.csproj @@ -1,4 +1,5 @@ - + + net10.0-ios Stride.UI.Tests @@ -130,4 +131,5 @@ + diff --git a/sources/engine/Stride.UI/Stride.UI.csproj b/sources/engine/Stride.UI/Stride.UI.csproj index 6057efc2e..261976725 100644 --- a/sources/engine/Stride.UI/Stride.UI.csproj +++ b/sources/engine/Stride.UI/Stride.UI.csproj @@ -1,4 +1,5 @@ - + + true true @@ -19,4 +20,5 @@ + diff --git a/sources/engine/Stride.Video/Stride.Video.csproj b/sources/engine/Stride.Video/Stride.Video.csproj index 38a1fce5d..326777bc5 100644 --- a/sources/engine/Stride.Video/Stride.Video.csproj +++ b/sources/engine/Stride.Video/Stride.Video.csproj @@ -1,4 +1,5 @@ - + + true true @@ -41,4 +42,5 @@ + diff --git a/sources/engine/Stride.VirtualReality/Stride.VirtualReality.csproj b/sources/engine/Stride.VirtualReality/Stride.VirtualReality.csproj index d57c728b3..f57faf1e0 100644 --- a/sources/engine/Stride.VirtualReality/Stride.VirtualReality.csproj +++ b/sources/engine/Stride.VirtualReality/Stride.VirtualReality.csproj @@ -1,4 +1,5 @@ - + + true true @@ -45,4 +46,5 @@ + diff --git a/sources/engine/Stride.Voxels/Stride.Voxels.csproj b/sources/engine/Stride.Voxels/Stride.Voxels.csproj index 19d50ae51..3fa49929d 100644 --- a/sources/engine/Stride.Voxels/Stride.Voxels.csproj +++ b/sources/engine/Stride.Voxels/Stride.Voxels.csproj @@ -1,4 +1,5 @@ - + + true true @@ -19,4 +20,5 @@ + \ No newline at end of file diff --git a/sources/engine/Stride/Stride.csproj b/sources/engine/Stride/Stride.csproj index 5dd1a1301..e13ea9e72 100644 --- a/sources/engine/Stride/Stride.csproj +++ b/sources/engine/Stride/Stride.csproj @@ -1,4 +1,5 @@ - + + true true @@ -20,4 +21,5 @@ + diff --git a/sources/presentation/Stride.Core.Presentation.Dialogs/Stride.Core.Presentation.Dialogs.csproj b/sources/presentation/Stride.Core.Presentation.Dialogs/Stride.Core.Presentation.Dialogs.csproj index 36597d5b5..c92351682 100644 --- a/sources/presentation/Stride.Core.Presentation.Dialogs/Stride.Core.Presentation.Dialogs.csproj +++ b/sources/presentation/Stride.Core.Presentation.Dialogs/Stride.Core.Presentation.Dialogs.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) true @@ -17,4 +18,5 @@ + diff --git a/sources/presentation/Stride.Core.Presentation.Graph/Stride.Core.Presentation.Graph.csproj b/sources/presentation/Stride.Core.Presentation.Graph/Stride.Core.Presentation.Graph.csproj index 8a2497e8f..b2fe521fd 100644 --- a/sources/presentation/Stride.Core.Presentation.Graph/Stride.Core.Presentation.Graph.csproj +++ b/sources/presentation/Stride.Core.Presentation.Graph/Stride.Core.Presentation.Graph.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) true @@ -21,4 +22,5 @@ + diff --git a/sources/presentation/Stride.Core.Presentation.Quantum.Tests/Stride.Core.Presentation.Quantum.Tests.csproj b/sources/presentation/Stride.Core.Presentation.Quantum.Tests/Stride.Core.Presentation.Quantum.Tests.csproj index 81be54af3..349285641 100644 --- a/sources/presentation/Stride.Core.Presentation.Quantum.Tests/Stride.Core.Presentation.Quantum.Tests.csproj +++ b/sources/presentation/Stride.Core.Presentation.Quantum.Tests/Stride.Core.Presentation.Quantum.Tests.csproj @@ -1,4 +1,5 @@ - + + $(StrideXplatEditorTargetFramework) linux-x64;win-x64 @@ -18,4 +19,5 @@ Properties\SharedAssemblyInfo.cs + diff --git a/sources/presentation/Stride.Core.Presentation.Quantum/Stride.Core.Presentation.Quantum.csproj b/sources/presentation/Stride.Core.Presentation.Quantum/Stride.Core.Presentation.Quantum.csproj index a440304ae..1f2c43e4f 100644 --- a/sources/presentation/Stride.Core.Presentation.Quantum/Stride.Core.Presentation.Quantum.csproj +++ b/sources/presentation/Stride.Core.Presentation.Quantum/Stride.Core.Presentation.Quantum.csproj @@ -1,4 +1,5 @@ - + + $(StrideXplatEditorTargetFramework) enable @@ -16,4 +17,5 @@ + diff --git a/sources/presentation/Stride.Core.Presentation.Tests/Stride.Core.Presentation.Tests.csproj b/sources/presentation/Stride.Core.Presentation.Tests/Stride.Core.Presentation.Tests.csproj index 56ffbed45..a4c437981 100644 --- a/sources/presentation/Stride.Core.Presentation.Tests/Stride.Core.Presentation.Tests.csproj +++ b/sources/presentation/Stride.Core.Presentation.Tests/Stride.Core.Presentation.Tests.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) win-x64 @@ -13,4 +14,5 @@ + diff --git a/sources/presentation/Stride.Core.Presentation.Wpf/Stride.Core.Presentation.Wpf.csproj b/sources/presentation/Stride.Core.Presentation.Wpf/Stride.Core.Presentation.Wpf.csproj index 8da355824..0e85752d4 100644 --- a/sources/presentation/Stride.Core.Presentation.Wpf/Stride.Core.Presentation.Wpf.csproj +++ b/sources/presentation/Stride.Core.Presentation.Wpf/Stride.Core.Presentation.Wpf.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) true @@ -42,4 +43,5 @@ + diff --git a/sources/presentation/Stride.Core.Presentation/Stride.Core.Presentation.csproj b/sources/presentation/Stride.Core.Presentation/Stride.Core.Presentation.csproj index 1304a9630..b7b7d4326 100644 --- a/sources/presentation/Stride.Core.Presentation/Stride.Core.Presentation.csproj +++ b/sources/presentation/Stride.Core.Presentation/Stride.Core.Presentation.csproj @@ -1,4 +1,5 @@ - + + $(StrideXplatEditorTargetFramework) enable @@ -16,4 +17,5 @@ + diff --git a/sources/presentation/Stride.Core.Quantum.Tests/Stride.Core.Quantum.Tests.csproj b/sources/presentation/Stride.Core.Quantum.Tests/Stride.Core.Quantum.Tests.csproj index baf6cd2fb..9dba26fd4 100644 --- a/sources/presentation/Stride.Core.Quantum.Tests/Stride.Core.Quantum.Tests.csproj +++ b/sources/presentation/Stride.Core.Quantum.Tests/Stride.Core.Quantum.Tests.csproj @@ -1,4 +1,5 @@ - + + $(StrideXplatEditorTargetFramework) linux-x64;win-x64 @@ -15,4 +16,5 @@ + diff --git a/sources/presentation/Stride.Core.Quantum/Stride.Core.Quantum.csproj b/sources/presentation/Stride.Core.Quantum/Stride.Core.Quantum.csproj index d30db5df6..44d3cf309 100644 --- a/sources/presentation/Stride.Core.Quantum/Stride.Core.Quantum.csproj +++ b/sources/presentation/Stride.Core.Quantum/Stride.Core.Quantum.csproj @@ -1,4 +1,5 @@ - + + true --auto-module-initializer --serialization @@ -17,4 +18,5 @@ + diff --git a/sources/presentation/Stride.Core.Translation.Presentation/Stride.Core.Translation.Presentation.csproj b/sources/presentation/Stride.Core.Translation.Presentation/Stride.Core.Translation.Presentation.csproj index 11a0984fe..b5fc1b0f0 100644 --- a/sources/presentation/Stride.Core.Translation.Presentation/Stride.Core.Translation.Presentation.csproj +++ b/sources/presentation/Stride.Core.Translation.Presentation/Stride.Core.Translation.Presentation.csproj @@ -1,4 +1,5 @@ - + + true $(StrideEditorTargetFramework) @@ -13,4 +14,5 @@ + diff --git a/sources/sdk/README.md b/sources/sdk/README.md new file mode 100644 index 000000000..f1578305b --- /dev/null +++ b/sources/sdk/README.md @@ -0,0 +1,43 @@ +# Stride MSBuild SDK Packages + +This directory contains three MSBuild SDK packages that provide build logic for all Stride projects. + +| Package | Purpose | +|---------|---------| +| **Stride.Build.Sdk** | Base SDK for all projects. Platform detection, target frameworks, graphics API multi-targeting, assembly processor, native dependencies. | +| **Stride.Build.Sdk.Editor** | Composes `Stride.Build.Sdk`. Adds editor framework properties. | +| **Stride.Build.Sdk.Tests** | Composes `Stride.Build.Sdk.Editor`. Adds xunit, test infrastructure, launcher code, asset compilation. | + +## Current Import Mode: Direct Imports + +All Stride projects currently import these SDK files **directly from source** rather than via NuGet packages: + +```xml + + + + + +``` + +**Why:** MSBuild SDK resolution (`Sdk="Stride.Build.Sdk"`) requires the packages to be pre-built and cached in `~/.nuget/packages/` before the solution can open. Direct imports load files straight from the source tree — no pre-build step, and changes to `.targets` files take effect immediately. + +**Why two different import mechanisms:** +- The props import uses `GetDirectoryNameOfFileAbove` because `$(StrideRoot)` is not yet set when the first import runs (it is set by `sources/Directory.Build.props`, which is auto-discovered only after `Microsoft.NET.Sdk` loads `Microsoft.Common.props` — which happens inside `Sdk.props`). +- The targets import uses `$(StrideRoot)` because by that point the full SDK chain has loaded and `$(StrideRoot)` is available. + +The SDK internal cross-references (`Stride.Build.Sdk.Editor` -> `Stride.Build.Sdk`, etc.) also use `$(MSBuildThisFileDirectory)`-relative paths for the same reason. + +## Reverting to Full SDK Mode + +See the "Reverting to full-SDK style" section in `build/docs/SDK-GUIDE.md` for complete instructions. + +## Building the SDK Packages + +The packages are only needed when testing NuGet package distribution or reverting to full SDK mode: + +```bash +dotnet build sources/sdk/Stride.Build.Sdk.slnx +``` + +For detailed documentation, see [build/docs/SDK-GUIDE.md](../../build/docs/SDK-GUIDE.md). diff --git a/sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.props b/sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.props index c08ea729d..ccf6105ec 100644 --- a/sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.props +++ b/sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.props @@ -1,7 +1,7 @@ - + diff --git a/sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.targets b/sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.targets index 93f65e2bf..782c5a4b2 100644 --- a/sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.targets +++ b/sources/sdk/Stride.Build.Sdk.Editor/Sdk/Sdk.targets @@ -1,7 +1,7 @@ - + - + diff --git a/sources/sdk/Stride.Build.Sdk.Tests/Sdk/Sdk.targets b/sources/sdk/Stride.Build.Sdk.Tests/Sdk/Sdk.targets index 78425e29d..277f355bd 100644 --- a/sources/sdk/Stride.Build.Sdk.Tests/Sdk/Sdk.targets +++ b/sources/sdk/Stride.Build.Sdk.Tests/Sdk/Sdk.targets @@ -3,7 +3,7 @@ - + diff --git a/sources/shaders/Irony.GrammarExplorer/Irony.GrammarExplorer.csproj b/sources/shaders/Irony.GrammarExplorer/Irony.GrammarExplorer.csproj index b848e66a5..bf99dc30e 100644 --- a/sources/shaders/Irony.GrammarExplorer/Irony.GrammarExplorer.csproj +++ b/sources/shaders/Irony.GrammarExplorer/Irony.GrammarExplorer.csproj @@ -1,4 +1,5 @@ - + + WinExe net10.0-windows @@ -61,4 +62,5 @@ + diff --git a/sources/shaders/Irony/Irony.csproj b/sources/shaders/Irony/Irony.csproj index 121b37745..add2e22f3 100644 --- a/sources/shaders/Irony/Irony.csproj +++ b/sources/shaders/Irony/Irony.csproj @@ -1,4 +1,5 @@ - + + true false @@ -61,4 +62,5 @@ + diff --git a/sources/shaders/Stride.Core.Shaders/Stride.Core.Shaders.csproj b/sources/shaders/Stride.Core.Shaders/Stride.Core.Shaders.csproj index 2d5bdcf7a..09708fe4f 100644 --- a/sources/shaders/Stride.Core.Shaders/Stride.Core.Shaders.csproj +++ b/sources/shaders/Stride.Core.Shaders/Stride.Core.Shaders.csproj @@ -1,4 +1,5 @@ - + + true true @@ -64,4 +65,5 @@ + diff --git a/sources/tests/tools/Stride.TextureConverter.Tests/Stride.TextureConverter.Tests.csproj b/sources/tests/tools/Stride.TextureConverter.Tests/Stride.TextureConverter.Tests.csproj index ef5aa135f..a51b32dab 100644 --- a/sources/tests/tools/Stride.TextureConverter.Tests/Stride.TextureConverter.Tests.csproj +++ b/sources/tests/tools/Stride.TextureConverter.Tests/Stride.TextureConverter.Tests.csproj @@ -1,4 +1,5 @@ - + + false $(StrideXplatEditorTargetFramework) @@ -17,4 +18,5 @@ + \ No newline at end of file diff --git a/sources/tests/xunit.runner.stride/xunit.runner.stride.csproj b/sources/tests/xunit.runner.stride/xunit.runner.stride.csproj index 48edebc77..3ea3f62e8 100644 --- a/sources/tests/xunit.runner.stride/xunit.runner.stride.csproj +++ b/sources/tests/xunit.runner.stride/xunit.runner.stride.csproj @@ -1,4 +1,5 @@ - + + net10.0 enable @@ -22,4 +23,5 @@ + diff --git a/sources/tools/Stride.ConnectionRouter/Stride.ConnectionRouter.csproj b/sources/tools/Stride.ConnectionRouter/Stride.ConnectionRouter.csproj index 3e2182b2d..db862f806 100644 --- a/sources/tools/Stride.ConnectionRouter/Stride.ConnectionRouter.csproj +++ b/sources/tools/Stride.ConnectionRouter/Stride.ConnectionRouter.csproj @@ -1,4 +1,5 @@ - + + WinExe $(StrideEditorTargetFramework) @@ -58,4 +59,5 @@ + diff --git a/sources/tools/Stride.Core.ProjectTemplating.Tests/Stride.Core.ProjectTemplating.Tests.csproj b/sources/tools/Stride.Core.ProjectTemplating.Tests/Stride.Core.ProjectTemplating.Tests.csproj index eec7e83af..344b41b4d 100644 --- a/sources/tools/Stride.Core.ProjectTemplating.Tests/Stride.Core.ProjectTemplating.Tests.csproj +++ b/sources/tools/Stride.Core.ProjectTemplating.Tests/Stride.Core.ProjectTemplating.Tests.csproj @@ -1,4 +1,5 @@ - + + Exe $(StrideEditorTargetFramework) @@ -36,4 +37,5 @@ + diff --git a/sources/tools/Stride.Core.ProjectTemplating/Stride.Core.ProjectTemplating.csproj b/sources/tools/Stride.Core.ProjectTemplating/Stride.Core.ProjectTemplating.csproj index 2af0d0e99..1b683085b 100644 --- a/sources/tools/Stride.Core.ProjectTemplating/Stride.Core.ProjectTemplating.csproj +++ b/sources/tools/Stride.Core.ProjectTemplating/Stride.Core.ProjectTemplating.csproj @@ -1,4 +1,5 @@ - + + true $(StrideXplatEditorTargetFramework) @@ -9,4 +10,5 @@ + diff --git a/sources/tools/Stride.Core.Translation.Extractor/Stride.Core.Translation.Extractor.csproj b/sources/tools/Stride.Core.Translation.Extractor/Stride.Core.Translation.Extractor.csproj index 5d683dbd4..6b9b284f3 100644 --- a/sources/tools/Stride.Core.Translation.Extractor/Stride.Core.Translation.Extractor.csproj +++ b/sources/tools/Stride.Core.Translation.Extractor/Stride.Core.Translation.Extractor.csproj @@ -1,4 +1,5 @@ - + + Exe $(StrideEditorTargetFramework) @@ -19,4 +20,5 @@ + diff --git a/sources/tools/Stride.EffectCompilerServer/Stride.EffectCompilerServer.csproj b/sources/tools/Stride.EffectCompilerServer/Stride.EffectCompilerServer.csproj index 4d5cae32a..68000428d 100644 --- a/sources/tools/Stride.EffectCompilerServer/Stride.EffectCompilerServer.csproj +++ b/sources/tools/Stride.EffectCompilerServer/Stride.EffectCompilerServer.csproj @@ -1,4 +1,5 @@ - + + Exe $(StrideEditorTargetFramework) @@ -17,4 +18,5 @@ + diff --git a/sources/tools/Stride.FreeImage/Stride.FreeImage.csproj b/sources/tools/Stride.FreeImage/Stride.FreeImage.csproj index 5a934a90f..17f474e32 100644 --- a/sources/tools/Stride.FreeImage/Stride.FreeImage.csproj +++ b/sources/tools/Stride.FreeImage/Stride.FreeImage.csproj @@ -1,4 +1,5 @@ - + + $(StrideXplatEditorTargetFramework) enable @@ -15,4 +16,5 @@ + diff --git a/sources/tools/Stride.Graphics.RenderDocPlugin/Stride.Graphics.RenderDocPlugin.csproj b/sources/tools/Stride.Graphics.RenderDocPlugin/Stride.Graphics.RenderDocPlugin.csproj index 381941291..0ad4f0e90 100644 --- a/sources/tools/Stride.Graphics.RenderDocPlugin/Stride.Graphics.RenderDocPlugin.csproj +++ b/sources/tools/Stride.Graphics.RenderDocPlugin/Stride.Graphics.RenderDocPlugin.csproj @@ -1,4 +1,5 @@ - + + true true @@ -8,4 +9,5 @@ + diff --git a/sources/tools/Stride.Importer.3D/Stride.Importer.3D.csproj b/sources/tools/Stride.Importer.3D/Stride.Importer.3D.csproj index 3d364a139..589ac8114 100644 --- a/sources/tools/Stride.Importer.3D/Stride.Importer.3D.csproj +++ b/sources/tools/Stride.Importer.3D/Stride.Importer.3D.csproj @@ -1,4 +1,5 @@ - + + true --parameter-key --auto-module-initializer --serialization @@ -20,4 +21,5 @@ + diff --git a/sources/tools/Stride.Importer.Common/Stride.Importer.Common.csproj b/sources/tools/Stride.Importer.Common/Stride.Importer.Common.csproj index 004d023f4..96cf38532 100644 --- a/sources/tools/Stride.Importer.Common/Stride.Importer.Common.csproj +++ b/sources/tools/Stride.Importer.Common/Stride.Importer.Common.csproj @@ -1,4 +1,5 @@ - + + true --parameter-key --auto-module-initializer --serialization @@ -17,4 +18,5 @@ + diff --git a/sources/tools/Stride.ProjectGenerator/Stride.ProjectGenerator.csproj b/sources/tools/Stride.ProjectGenerator/Stride.ProjectGenerator.csproj index f1cfdeba9..a0b0ca54d 100644 --- a/sources/tools/Stride.ProjectGenerator/Stride.ProjectGenerator.csproj +++ b/sources/tools/Stride.ProjectGenerator/Stride.ProjectGenerator.csproj @@ -1,4 +1,5 @@ - + + Exe $(StrideEditorTargetFramework) @@ -59,4 +60,5 @@ + diff --git a/sources/tools/Stride.SamplesTestServer/Stride.SamplesTestServer.csproj b/sources/tools/Stride.SamplesTestServer/Stride.SamplesTestServer.csproj index b266f61ab..1da3bfbd2 100644 --- a/sources/tools/Stride.SamplesTestServer/Stride.SamplesTestServer.csproj +++ b/sources/tools/Stride.SamplesTestServer/Stride.SamplesTestServer.csproj @@ -1,4 +1,5 @@ - + + Exe $(StrideEditorTargetFramework) @@ -24,4 +25,5 @@ + diff --git a/sources/tools/Stride.StorageTool/Stride.StorageTool.csproj b/sources/tools/Stride.StorageTool/Stride.StorageTool.csproj index cb7b50da9..791954b3c 100644 --- a/sources/tools/Stride.StorageTool/Stride.StorageTool.csproj +++ b/sources/tools/Stride.StorageTool/Stride.StorageTool.csproj @@ -1,4 +1,5 @@ - + + WinExe $(StrideXplatEditorTargetFramework) @@ -24,4 +25,5 @@ + diff --git a/sources/tools/Stride.TestRunner/Stride.TestRunner.csproj b/sources/tools/Stride.TestRunner/Stride.TestRunner.csproj index 086096f6b..f8151b6ad 100644 --- a/sources/tools/Stride.TestRunner/Stride.TestRunner.csproj +++ b/sources/tools/Stride.TestRunner/Stride.TestRunner.csproj @@ -1,4 +1,5 @@ - + + Exe $(StrideEditorTargetFramework) @@ -26,4 +27,5 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.config + diff --git a/sources/tools/Stride.TextureConverter/Stride.TextureConverter.csproj b/sources/tools/Stride.TextureConverter/Stride.TextureConverter.csproj index fa2f76e41..d208994ec 100644 --- a/sources/tools/Stride.TextureConverter/Stride.TextureConverter.csproj +++ b/sources/tools/Stride.TextureConverter/Stride.TextureConverter.csproj @@ -1,4 +1,5 @@ - + + false Library @@ -22,4 +23,5 @@ + diff --git a/sources/tools/Stride.VisualStudio.Commands.Interfaces/Stride.VisualStudio.Commands.Interfaces.csproj b/sources/tools/Stride.VisualStudio.Commands.Interfaces/Stride.VisualStudio.Commands.Interfaces.csproj index db87a9947..a18988e5c 100644 --- a/sources/tools/Stride.VisualStudio.Commands.Interfaces/Stride.VisualStudio.Commands.Interfaces.csproj +++ b/sources/tools/Stride.VisualStudio.Commands.Interfaces/Stride.VisualStudio.Commands.Interfaces.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework);net472 Stride.VisualStudio.Commands @@ -8,4 +9,5 @@ + diff --git a/sources/tools/Stride.VisualStudio.Commands/Stride.VisualStudio.Commands.csproj b/sources/tools/Stride.VisualStudio.Commands/Stride.VisualStudio.Commands.csproj index 4936afd4f..cd78d7ca1 100644 --- a/sources/tools/Stride.VisualStudio.Commands/Stride.VisualStudio.Commands.csproj +++ b/sources/tools/Stride.VisualStudio.Commands/Stride.VisualStudio.Commands.csproj @@ -1,4 +1,5 @@ - + + $(StrideEditorTargetFramework) true @@ -26,4 +27,5 @@ + diff --git a/sources/tools/Stride.VisualStudio.Package.Tests/Stride.VisualStudio.Package.Tests.csproj b/sources/tools/Stride.VisualStudio.Package.Tests/Stride.VisualStudio.Package.Tests.csproj index 02832d68b..6381da5cb 100644 --- a/sources/tools/Stride.VisualStudio.Package.Tests/Stride.VisualStudio.Package.Tests.csproj +++ b/sources/tools/Stride.VisualStudio.Package.Tests/Stride.VisualStudio.Package.Tests.csproj @@ -1,4 +1,5 @@ - + + false net472 @@ -53,4 +54,5 @@ + \ No newline at end of file diff --git a/sources/tools/Stride.VisualStudio.Package/Stride.VisualStudio.Package.csproj b/sources/tools/Stride.VisualStudio.Package/Stride.VisualStudio.Package.csproj index 8a697ddcb..9095adef2 100644 --- a/sources/tools/Stride.VisualStudio.Package/Stride.VisualStudio.Package.csproj +++ b/sources/tools/Stride.VisualStudio.Package/Stride.VisualStudio.Package.csproj @@ -1,4 +1,5 @@ - + + 18.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) @@ -151,4 +152,5 @@ +