microsoft / microsoft/WindowsAppSDK
SatelliteResourceLanguages property is ignored when publishing a self-contained unpackaged .NET app,
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
### Describe the bug
I am building a self-contained app which is en-US only. I am setting the below property to attempt to limit the satellite assemblies that are included when publishing my app, but it seems that WindowsAppSDKSelfContained does not respected this.
en
### Steps to reproduce the bug
Set the below properties in a .net unpackaged app.
true
en-US
en
Publish the app and examine the publish directory.
### Expected behavior
Expected: Only en satellite assemblies present
Actual: All languages present
### Screenshots

### NuGet package version
Windows App SDK 1.5.1: 1.5.240311000
### Packaging type
Unpackaged
### Windows version
Windows 11 version 22H2 (22621, 2022 Update)
### IDE
Visual Studio 2022
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
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 by reproducing the self-contained unpackaged publish with WindowsAppSDKSelfContained, DefaultLanguage, and SatelliteResourceLanguages set as shown, then inspect the publish directory. Done means the output contains only the en satellite assemblies instead of all languages; the issue does not name a source file or test to inspect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100