Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/svg2tvgt: build with .NET 6 #19

Merged
merged 1 commit into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
version: v0.11.0

- name: Install dotnet sdk
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.0.x'
dotnet-version: '6.0.x'

- name: Compile Tools
run: zig build install
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This SDK enables you to work with the [TinyVG](https://tinyvg.tech/) vector grap

## Building

The SDK is implemented with [Zig](https://ziglang.org/) 0.11.0 and [dotnet 5](https://dotnet.microsoft.com/en-us/).
The SDK is implemented with [Zig](https://ziglang.org/) 0.11.0 and [dotnet 6](https://dotnet.microsoft.com/en-us/).

To build the SDK (except `svg2tvgt`), do this:

Expand All @@ -28,18 +28,16 @@ To build `svg2tvgt`, go into the folder `src/tools/svg2tvgt` and do this:
```sh-session
[user@host sdk]$ cd src/tools/svg2tvgt/
ikskuh marked this conversation as resolved.
Show resolved Hide resolved
[user@host svg2tvgt]$ dotnet build
Microsoft (R) Build Engine version 16.11.1+3e40a09f8 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

MSBuild version 17.3.2+561848881 for .NET
Determining projects to restore...
All projects are up-to-date for restore.
svg2tvgt -> /mnt/src/tools/svg2tvgt/bin/Debug/net5.0/svg2tvgt.dll
svg2tvgt -> /mnt/src/tools/svg2tvgt/bin/Debug/net6.0/svg2tvgt.dll

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:01.59
Time Elapsed 00:00:00.69
[user@host svg2tvgt]$
```

Expand Down
4 changes: 2 additions & 2 deletions src/tools/svg2tvgt/svg2tvgt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<StartupObject>Application</StartupObject>
</PropertyGroup>

</Project>
</Project>
Loading