41 Commits
Author SHA1 Message Date
Virgile Bello 0688aa6942 Merge branch 'master' into feature/xplat/rename-projectcs
# Conflicts:
#	docs/launcher/settings.md
#	sources/editor/Stride.Editor.Wpf/GraphicsDeviceLoss.cs
2026-10-06 11:11:42 +09:00
github-actions[bot] a0fdf913e1 Samples: content version 4.4.3 (released samples/4.4.3) 2026-10-06 01:17:40 +00:00
github-actions[bot] 1ccb3c55ee Samples: content version 4.4.2 (released samples/4.4.2) 2026-10-04 15:53:13 +00:00
Nicolas Musset 0016737cd5 Merge branch 'master' into feature/xplat/rename-projects 2026-09-23 18:38:28 +02:00
github-actions[bot] 5519fb72cb Samples: content version 4.4.1 (released samples/4.4.1) 2026-09-21 15:57:43 +00:00
Nicolas Musset ff09df9b1f Merge branch 'master' into feature/xplat/rename-projectcs 2026-09-21 17:23:34 +02:00
github-actions[bot] a09b4c5e4c Samples: content version 4.4.0 (released samples/4.4.0) 2026-09-19 14:35:51 +00:00
Virgile Bello 15d401e156 Samples: the content version lives in StrideSamplesVersion.props, not SharedAssemblyInfo.cs
A samples release no longer rebuilds every assembly: Stride.Assets embeds the file as a resource, outside its reference assembly.
2026-09-19 11:35:53 +09:00
Virgile Bello f114b95e41 Templates: resolve template packages by exact version 2026-09-18 12:05:55 +09:00
Virgile Bello c7ed62f42d Samples: release-samples.yml commits the content version after publishing 2026-09-18 09:15:21 +09:00
Virgile Bello 7d203f2743 Samples: rename the sample build targets 2026-09-18 09:15:20 +09:00
Virgile Bello 75497567c4 Samples: version the content template packs separately from the engine 2026-09-18 09:15:19 +09:00
Nicolas Musset 958268bd01 feat: move Stride.Assets.Presentation.Wpf 2026-09-13 12:32:15 +02:00
Luu Thai 00644feda2 Merge pull request #3385 from thaildhe172591/fix/stride-new-asset-packs
stride: fetch the asset packs on demand so 'new' can use them (fixes #3380)
2026-09-07 17:14:39 +09:00
Virgile Bello 7cbc828fee Templates: stamp engine version without build metadata (generated csproj referenced 4.4.0-beta5+g34c7f40f) 2026-09-05 14:28:19 +09:00
Virgile Bello 2e6d6eaf1b feat: asset packs for New Game as dotnet new item templates
New Stride.Templates.AssetPacks package (nuget.org only, fetched on demand)
ships Building blocks / Animated models / Materials / Particles. GameStudio
offers them as checkboxes when creating a game; dotnet new and the stride
CLI instantiate them into an existing game.
2026-08-08 01:00:27 +02:00
Virgile Bello 4b587d50b2 build: share auto-pack-deploy logic between the Stride SDK chain and template projects 2026-07-03 23:39:14 +09:00
Virgile Bello 0d02c5a3be templates: stamp the engine version into packed template content (concrete Stride.* PackageReferences, not just $EngineVersion$ literals) 2026-07-03 18:58:04 +09:00
Virgile Bello da4bc7ede0 templates: keep the Stride.Core marker dependency in packed nuspecs (NoTargets defaults ReferenceOutputAssembly=false, restore drops the reference) 2026-07-03 18:58:03 +09:00
Virgile Bello 11ecd98ffa build: convert all solutions from .sln to .slnx
- migrate 15 tracked solutions; update .slnf paths, workflows, build
  files, repo-root markers, ios/android runners, .vscode, docs
- Stride.slnx: drop vestigial x86/x64/Mixed Platforms (solution is
  all-managed) and build with Platform=Any CPU; GameStudio listed first
  so it stays the default startup project
- Stride.VisualStudio.slnx: Package project first (default startup)
- samples: drop dead AppStore/Testing/Windows configs (no per-platform
  exec projects remain, only .Game + .Windows)
2026-06-30 13:45:23 +09:00
Virgile Bello cf8c828e3b stride: add new command to scaffold projects from installed templates
List or instantiate the templates bundled with an installed Stride version
(--version, else newest installed). The template-engine glue is shared by
source with Stride.Assets, so the CLI needs no engine reference.
2026-06-29 17:53:27 +09:00
Virgile Bello dd8f837f8a build: have Stride.GameStudio depend on the template packages so install pulls them 2026-06-27 17:33:12 +09:00
Virgile Bello 1b0cdb8115 build: use lowercase 'stride' for the per-user app-data directory (nugetdev, template-engine) 2026-06-27 11:45:45 +09:00
Virgile Bello 123ed7343f templates: build Stride.Templates.* with NoTargets
No empty assembly/pdb, so VS's up-to-date check keys off the nupkg. Re-enable FUTDC, drop the build-order serialization, drop the dead Cache excludes, and track sample files as per-sample literal-wildcard inputs so an edit triggers a repack.
2026-06-27 03:25:12 +09:00
Virgile Bello 99be16606f build: version content template packages with engine prerelease suffix
Starters/Samples packages are content-versioned (StrideSamplesVersion) but
must carry the engine prerelease suffix so dev/beta builds don't clash with
released packages of the same base version. SamplesVersion now lives in
SharedAssemblyInfo.cs as the single source; the pack (Stride.Templates.Common.targets)
and the bridge query (DotNetNewTemplateBridge) both append NuGetVersionSuffix to it,
and the bridge resolves an exact version so release/prerelease ordering can't misresolve.
2026-06-25 00:29:25 +09:00
Virgile Bello 55608d9493 build: unify version overlay into SharedAssemblyInfo.Generated.cs
- single generated overlay (was Worktree.cs + NuGet.cs) swapped in by one SDK target
- base PublicVersion is an implausible sentinel (4.4.65534), decoupled from the floor, so a non-overlaid build is obvious; the overlay is always emitted
- generator runs on CI too (empty suffix via NoLedgerSuffix); release task fails on a no-tag fallback (StrideAllowFloorVersion opts in)
- share the NuGet version derivation via Stride.NuGetVersion.props (dedup PackageInfo + Templates.Common)
2026-06-24 14:13:39 +09:00
Virgile Bello 41a848280d assets: bump in-repo samples to 4.4.0 (asset migration + Stride.AssetCompiler rename) 2026-06-24 14:13:37 +09:00
Virgile Bello 62136f50d4 build: unify dev + release version generators on a shared floor (MinVersion/MajorMinor inputs) 2026-06-24 14:13:35 +09:00
Virgile Bello 0480100c10 build: default local checkouts to a -dev suffix; clean reserved for releases
First checkout registers as 'dev' (-dev) instead of '(primary)' (no suffix), so
no local build ever shares a version with a release (avoids global-cache/NugetDev
shadowing). Use the '(empty)' ledger token, or StrideSkipWorktreeVersion, for a
clean local build; legacy '(primary)' entries are honored as -dev.
2026-06-24 14:13:33 +09:00
Virgile Bello 7613251b43 docs(build): versioning & release guide
Add docs/build/versioning.md (engine version, StrideGitVersion, -devN per-checkout dev versions, release flow, sample/template package versions); link it from docs/build/README.md and document the sample dev/release flip in the templates README.
2026-06-24 14:13:22 +09:00
Virgile Bello 0fd585cf67 templates: rework sample bump to transform-based -devN flow (restore+migrate against real local packages, finalize to clean release version) 2026-06-24 14:13:20 +09:00
Virgile Bello 3f0f78dbe1 templates: UpgradeSamplesVersion driver + StrideSamplesVersion authority for content-versioned sample/starter packages 2026-06-24 14:13:18 +09:00
Virgile Bello 8b5e184b7c build: exclude bin/obj/Cache from template-content pack glob (fixes NU5019 on transient intermediates) 2026-06-13 21:50:21 +09:00
Virgile Bello cc82f2fe60 templates: pack missing platform exec projects into every sample
TemplatePreprocessor copies MyTemplate.{Platform}/ from a reference template
(NewGame) at pack time for any platform the sample didn't author by hand.
NewGame's library dir renamed MyTemplate/ → MyTemplate.Game/ to unify the
naming with samples so injected csprojs reference the right sibling verbatim.
2026-06-10 17:27:10 +09:00
Virgile Bello a8e339e29a templates: UpdatePlatforms reuses stride-game instead of a duplicate template
stride-platforms was a near-clone of stride-game and drifting from it (e.g. the
icon refresh only landed on NewGame's copy). Collapsed via an updateOnly
preprocessor symbol that excludes MyTemplate/ + *.sln; UpdatePlatformsGenerator
drives stride-game with updateOnly=true. samples/Platforms/Platforms/ deleted.
2026-06-08 01:03:05 +09:00
Virgile Bello 59faa07e66 templates: derive worktree suffix at eval time for UpToDateCheckBuilt
PackageVersion only picks up the -devN suffix at target run time, so
UpToDateCheckBuilt captured the un-suffixed nupkg path at MSBuild evaluation
and VS rebuilt the templates project on every F5. Read the ledger from the
property block to compute the suffix early; the build-time target stays
authoritative.
2026-06-07 20:15:43 +09:00
Virgile Bello 072246ac27 templates: UpdatePlatforms as a stride-platforms dotnet new template
Per-platform exec scaffolds live at samples/Platforms/Platforms/, packed into
Stride.Templates.Games. UpdatePlatformsGenerator drives the bootstrapper with
the multi-choice platforms parameter and registers the produced csprojs as
Executable projects. Obsolete UpdatePlatforms.sdtpl removed to avoid a
broken duplicate UI entry.
2026-06-07 20:15:40 +09:00
Virgile Bello 1ebf8497f0 templates: AddLibrary as a stride-library dotnet new template
Scaffold lives at samples/Library/Library/ and packs into the existing
Stride.Templates.Games nupkg. AddLibraryGenerator dispatches the bootstrapper
(same path as DotNetNewTemplateGenerator) and registers the produced csproj
as a Library project on the session. WpfAddLibraryParameterPrompt keeps the
existing ProjectLibraryWindow as the name/namespace dialog.
2026-06-07 20:15:34 +09:00
Virgile Bello 1fbed7e0de Worktree version: append suffix to dep versions and template PackageVersion 2026-05-29 17:28:45 +09:00
Virgile Bello 255487a807 docs: dotnet new templates
sources/templates/README.md (end-user CLI usage, local dev workflow,
add-a-sample recipe, architecture pointers). Short pointer added to root
README + docs/build/README.md Further-Reading.
2026-05-27 15:59:53 +09:00
Virgile Bello 01b2d22be2 Stride.Templates.*: Games / Games.Starters / Samples packaging
Three NuGet template packages: Games (NewGame, bundled with GameStudio),
Games.Starters (5 genre starters on nuget.org), Samples (18 feature demos
on nuget.org). Shared MSBuild logic in Stride.Templates.Common.targets.
2026-05-27 15:59:49 +09:00