Skip to content

Commit 03471c6

Browse files
Document SDK resolution and add HEVC LFS patterns
1 parent 52fc1c3 commit 03471c6

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

‎.gitattributes‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@
138138
*.heic filter=lfs diff=lfs merge=lfs -text
139139
*.hif filter=lfs diff=lfs merge=lfs -text
140140
*.avif filter=lfs diff=lfs merge=lfs -text
141+
*.hvc1 filter=lfs diff=lfs merge=lfs -text
142+
*.hvcc filter=lfs diff=lfs merge=lfs -text
143+
*.yuv filter=lfs diff=lfs merge=lfs -text
144+
*.bit filter=lfs diff=lfs merge=lfs -text
141145
###############################################################################
142146
# Handle ICC files by git lfs
143147
###############################################################################

‎README.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ There are three tools contained within the submodule that will help to automatic
8989
The build also copies repository-wide AI coding guidance for tools that support `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, and `.github/copilot-instructions.md`.
9090

9191
These tools are automatically installed into your solution by referencing the `.props` and `.targets` files found in the [/msbuild](/msbuild) folder.
92+
93+
### .NET SDK Resolution (global.json)
94+
95+
The repository root contains a [global.json](/global.json) that controls .NET SDK resolution for all SixLabors repositories:
96+
97+
- `version` and `rollForward: latestMajor` set a floor of .NET 10. Resolution selects the newest installed SDK at or above that floor.
98+
- `allowPrerelease: true` lets the CLI and Visual Studio use a preview SDK when one is installed. Machines without a preview SDK resolve the newest stable release.
99+
100+
The build copies this file to consuming repositories together with the other shared config files. Commit the copied file, as you do with `.editorconfig` and `.gitattributes`.
101+
102+
Preview target frameworks are opt-in. Set the `SIXLABORS_TESTING_PREVIEW` environment variable to `True` to add them to `TargetFrameworks`. CI preview lanes set this variable and install the preview SDK with the `dotnet-quality: preview` option of `setup-dotnet`.
92103

93104
### MsBuild
94105

0 commit comments

Comments
 (0)