Allow user projects to utilize asset packing
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Is your feature request related to a problem? Please describe.
Currently engine libs can easily include assets by having an sdpkg file and <StridePackAssets>true</StridePackAssets>.
It results in the NuGet package having a stride folder with Assets and Resources.
Describe the solution you'd like
Same should apply for user projects to enable asset sharing.
Additional context
The property is used in Stride.props in the PrepareStrideAssetsForPack Target that invokes Stride.Core.Tasks.exe which performs some processing on the project assets and the files are marked for packing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sources/targets/Stride.props, especially the PrepareStrideAssetsForPack target and its Stride.Core.Tasks.exe invocation, then compare it with Stride.Engine/Stride.Engine.sdpkg. Reproduce packing for a user project that sets StridePackAssets, and verify that its NuGet package contains the expected stride/Assets and stride/Resources files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100