Skip to content

Commit 9b8eaa7

Browse files
committed
update SDK and TFMs
1 parent 94f49b7 commit 9b8eaa7

File tree

6 files changed

+11
-15
lines changed

6 files changed

+11
-15
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
os: [ubuntu-latest, windows-latest]
1212
configuration: [Debug, Release]
1313
steps:
14-
- uses: actions/checkout@v1
15-
- uses: actions/setup-dotnet@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-dotnet@v4
1616
- name: Build and test
1717
shell: pwsh
1818
run: |

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"preLaunchTask": "build",
1212
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceRoot}/src/IxMilia.Pdf.Test/bin/Debug/net7.0/IxMilia.Pdf.Test.dll",
13+
"program": "${workspaceRoot}/src/IxMilia.Pdf.Test/bin/Debug/net8.0/IxMilia.Pdf.Test.dll",
1414
"args": [],
1515
"cwd": "${workspaceRoot}/src/IxMilia.Pdf.Test",
1616
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "7.0.100",
3+
"version": "8.0.100",
44
"rollForward": "latestMinor"
55
}
66
}

src/IxMilia.Pdf.Test/IxMilia.Pdf.Test.csproj

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,17 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>
99
<ProjectReference Include="..\IxMilia.Pdf\IxMilia.Pdf.csproj" />
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
14-
<PackageReference Include="xunit" Version="2.4.1" />
15-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
16-
</ItemGroup>
17-
18-
<ItemGroup>
19-
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
14+
<PackageReference Include="xunit" Version="2.9.0" />
15+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
2016
</ItemGroup>
2117

2218
</Project>

src/IxMilia.Pdf.Test/PdfWriterTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public void VerifyFontsAreAddedOnSaveTest()
266266
var text = new PdfText("foo", new PdfFontType1(PdfFontType1Type.Helvetica), PdfMeasurement.Points(12.0), new PdfPoint());
267267
page.Items.Add(text);
268268
file.Pages.Add(page);
269-
Assert.Equal(0, file.Fonts.Count);
269+
Assert.Empty(file.Fonts);
270270

271271
using (var ms = new MemoryStream())
272272
{

src/IxMilia.Pdf/IxMilia.Pdf.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Copyright>Copyright 2018</Copyright>
66
<AssemblyTitle>IxMilia.Pdf</AssemblyTitle>
77
<Authors>IxMilia</Authors>
8-
<TargetFramework>netstandard1.3</TargetFramework>
8+
<TargetFramework>netstandard2.0</TargetFramework>
99
<AssemblyName>IxMilia.Pdf</AssemblyName>
1010
<PackageId>IxMilia.Pdf</PackageId>
1111
<PackageTags>PDF</PackageTags>
@@ -19,7 +19,7 @@
1919
</PropertyGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All" />
22+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
2323
</ItemGroup>
2424

2525
</Project>

0 commit comments

Comments
 (0)