Skip to content

Commit 907fb84

Browse files
Migrate solution files to the slnx format
Replaces the three .sln files with .slnx equivalents and points the ci scripts, TestEnvironment, README, and CONTRIBUTING docs at the new files. The README now names the .NET 10 SDK.
1 parent e35fae7 commit 907fb84

13 files changed

Lines changed: 631 additions & 1129 deletions

‎.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

‎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>

‎ci-build.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ param(
33
[string]$targetFramework
44
)
55

6-
$solution = Join-Path $PSScriptRoot "ImageSharp.Drawing.sln"
6+
$solution = Join-Path $PSScriptRoot "ImageSharp.Drawing.slnx"
77

88
dotnet clean $solution -c Release
99

‎ci-local.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$env:CI = "true"
22
$env:SIXLABORS_TESTING = "True"
33

4-
$solution = Join-Path $PSScriptRoot "ImageSharp.Drawing.sln"
4+
$solution = Join-Path $PSScriptRoot "ImageSharp.Drawing.slnx"
55

66
# Build (ci-build.ps1 net10.0)
77
dotnet clean $solution -c Release

0 commit comments

Comments
 (0)