Skip to content

Commit ba75f4d

Browse files
Merge pull request #416 from SixLabors/js/vnext
Retarget to net10/net11 and migrate tests to xUnit v3
2 parents 61bd770 + 907fb84 commit ba75f4d

51 files changed

Lines changed: 776 additions & 1230 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
###############################################################################
111111
# Handle image files by git lfs
112112
###############################################################################
113+
*.pdf filter=lfs diff=lfs merge=lfs -text
113114
*.jpg filter=lfs diff=lfs merge=lfs -text
114115
*.jpeg filter=lfs diff=lfs merge=lfs -text
115116
*.bmp filter=lfs diff=lfs merge=lfs -text
@@ -137,6 +138,10 @@
137138
*.heic filter=lfs diff=lfs merge=lfs -text
138139
*.hif filter=lfs diff=lfs merge=lfs -text
139140
*.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
140145
###############################################################################
141146
# Handle ICC files by git lfs
142147
###############################################################################

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
* When first cloning the repo, make sure to run `git submodule update --init --recursive` otherwise the submodules (e.g. `shared-infrastructure`) will be missing.
2626

27-
* Run `dotnet build` in the root of the repo, or open the ImageSharp.Drawing.sln file in Visual Studio and build from there.
27+
* Run `dotnet build` in the root of the repo, or open the ImageSharp.Drawing.slnx file in Visual Studio and build from there.
2828

2929
#### **Running tests and Debugging**
3030

.github/workflows/build-and-test.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -64,48 +64,48 @@ jobs:
6464
matrix:
6565
options:
6666
- os: ubuntu-latest
67-
framework: net10.0
68-
sdk: 10.0.x
67+
framework: net11.0
68+
sdk: 11.0.x
6969
sdk-preview: true
7070
runtime: -x64
7171
codecov: false
7272
- os: macos-26
73-
framework: net10.0
74-
sdk: 10.0.x
73+
framework: net11.0
74+
sdk: 11.0.x
7575
sdk-preview: true
7676
runtime: -x64
7777
codecov: false
7878
- os: windows-latest
79-
framework: net10.0
80-
sdk: 10.0.x
79+
framework: net11.0
80+
sdk: 11.0.x
8181
sdk-preview: true
8282
runtime: -x64
8383
codecov: false
8484
- os: ubuntu-22.04-arm
85-
framework: net10.0
86-
sdk: 10.0.x
85+
framework: net11.0
86+
sdk: 11.0.x
8787
sdk-preview: true
8888
runtime: -x64
8989
codecov: false
9090

9191
- os: ubuntu-latest
92-
framework: net8.0
93-
sdk: 8.0.x
92+
framework: net10.0
93+
sdk: 10.0.x
9494
runtime: -x64
9595
codecov: false
9696
- os: macos-26
97-
framework: net8.0
98-
sdk: 8.0.x
97+
framework: net10.0
98+
sdk: 10.0.x
9999
runtime: -x64
100100
codecov: true
101101
- os: windows-latest
102-
framework: net8.0
103-
sdk: 8.0.x
102+
framework: net10.0
103+
sdk: 10.0.x
104104
runtime: -x64
105105
codecov: false
106106
- os: ubuntu-22.04-arm
107-
framework: net8.0
108-
sdk: 8.0.x
107+
framework: net10.0
108+
sdk: 10.0.x
109109
runtime: -x64
110110
codecov: false
111111

@@ -169,14 +169,15 @@ jobs:
169169
uses: actions/setup-dotnet@v6
170170
with:
171171
dotnet-version: |
172-
8.0.x
172+
10.0.x
173173
174174
- name: DotNet Setup Preview
175175
if: ${{ matrix.options.sdk-preview == true }}
176176
uses: actions/setup-dotnet@v6
177177
with:
178+
dotnet-quality: preview
178179
dotnet-version: |
179-
10.0.x
180+
11.0.x
180181
181182
- name: DotNet Build
182183
if: ${{ matrix.options.sdk-preview != true }}

ImageSharp.Drawing.All.sln

Lines changed: 0 additions & 522 deletions
This file was deleted.

ImageSharp.Drawing.All.slnx

Lines changed: 304 additions & 0 deletions
Large diffs are not rendered by default.

ImageSharp.Drawing.sln

Lines changed: 0 additions & 493 deletions
This file was deleted.

ImageSharp.Drawing.slnx

Lines changed: 302 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SixLabors.ImageSharp.Drawing
1616

1717
**ImageSharp.Drawing** is a cross-platform 2D drawing library built on top of [ImageSharp](https://github.com/SixLabors/ImageSharp). It adds a rich vector drawing model for composing raster images, rendering text, shaping paths, masking image-processing operations, and targeting CPU or WebGPU-backed drawing surfaces from the same `DrawingCanvas` API.
1818

19-
The core package targets .NET 8 and provides the default CPU backend. The optional `SixLabors.ImageSharp.Drawing.WebGPU` package adds GPU-backed rendering for native windows, external surfaces, and offscreen render targets.
19+
The core package targets .NET 10 and provides the default CPU backend. The optional `SixLabors.ImageSharp.Drawing.WebGPU` package adds GPU-backed rendering for native windows, external surfaces, and offscreen render targets.
2020

2121
## Capabilities
2222

@@ -115,12 +115,12 @@ If you prefer, you can compile ImageSharp.Drawing yourself (please do and help!)
115115

116116
- Using [Visual Studio 2022](https://visualstudio.microsoft.com/vs/)
117117
- Make sure you have the latest version installed
118-
- Make sure you have [the .NET 8 SDK](https://www.microsoft.com/net/core#windows) installed
118+
- Make sure you have [the .NET 10 SDK](https://www.microsoft.com/net/core#windows) installed
119119

120120
Alternatively, you can work from command line and/or with a lightweight editor on **both Linux/Unix and Windows**:
121121

122122
- [Visual Studio Code](https://code.visualstudio.com/) with [C# Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp)
123-
- [the .NET 8 SDK](https://www.microsoft.com/net/core#linuxubuntu)
123+
- [the .NET 10 SDK](https://www.microsoft.com/net/core#linuxubuntu)
124124

125125
To clone ImageSharp.Drawing locally, click the "Clone in [YOUR_OS]" button above or run the following git commands:
126126

WinFormsSamples.sln

Lines changed: 0 additions & 105 deletions
This file was deleted.

WinFormsSamples.slnx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Solution>
2+
<Configurations>
3+
<Platform Name="Any CPU" />
4+
<Platform Name="x64" />
5+
<Platform Name="x86" />
6+
</Configurations>
7+
<Folder Name="/samples/">
8+
<Project Path="samples/DrawingBackendBenchmark/DrawingBackendBenchmark.csproj" />
9+
<Project Path="samples/WebGPUExternalSurfaceDemo/WebGPUExternalSurfaceDemo.csproj" />
10+
</Folder>
11+
<Folder Name="/src/">
12+
<Project Path="src/ImageSharp.Drawing.WebGPU.ShaderGen/ImageSharp.Drawing.WebGPU.ShaderGen.csproj" />
13+
<Project Path="src/ImageSharp.Drawing.WebGPU/ImageSharp.Drawing.WebGPU.csproj" />
14+
<Project Path="src/ImageSharp.Drawing/ImageSharp.Drawing.csproj" />
15+
</Folder>
16+
</Solution>

0 commit comments

Comments
 (0)