Skip to content

Commit

Permalink
update SDK and TFMs
Browse files Browse the repository at this point in the history
  • Loading branch information
brettfo committed Aug 30, 2024
1 parent 94f49b7 commit 9b8eaa7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
os: [ubuntu-latest, windows-latest]
configuration: [Debug, Release]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v3
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
- name: Build and test
shell: pwsh
run: |
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceRoot}/src/IxMilia.Pdf.Test/bin/Debug/net7.0/IxMilia.Pdf.Test.dll",
"program": "${workspaceRoot}/src/IxMilia.Pdf.Test/bin/Debug/net8.0/IxMilia.Pdf.Test.dll",
"args": [],
"cwd": "${workspaceRoot}/src/IxMilia.Pdf.Test",
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "7.0.100",
"version": "8.0.100",
"rollForward": "latestMinor"
}
}
12 changes: 4 additions & 8 deletions src/IxMilia.Pdf.Test/IxMilia.Pdf.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,17 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\IxMilia.Pdf\IxMilia.Pdf.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
</ItemGroup>

<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/IxMilia.Pdf.Test/PdfWriterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public void VerifyFontsAreAddedOnSaveTest()
var text = new PdfText("foo", new PdfFontType1(PdfFontType1Type.Helvetica), PdfMeasurement.Points(12.0), new PdfPoint());
page.Items.Add(text);
file.Pages.Add(page);
Assert.Equal(0, file.Fonts.Count);
Assert.Empty(file.Fonts);

using (var ms = new MemoryStream())
{
Expand Down
4 changes: 2 additions & 2 deletions src/IxMilia.Pdf/IxMilia.Pdf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Copyright>Copyright 2018</Copyright>
<AssemblyTitle>IxMilia.Pdf</AssemblyTitle>
<Authors>IxMilia</Authors>
<TargetFramework>netstandard1.3</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>IxMilia.Pdf</AssemblyName>
<PackageId>IxMilia.Pdf</PackageId>
<PackageTags>PDF</PackageTags>
Expand All @@ -19,7 +19,7 @@
</PropertyGroup>

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

</Project>

0 comments on commit 9b8eaa7

Please sign in to comment.