Use net7.0

This commit is contained in:
Tyrrrz 2022-12-08 01:17:12 +02:00
parent 680433ddf9
commit aa75f19204
2 changed files with 2 additions and 10 deletions

View File

@ -18,7 +18,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x
- name: Publish
run: dotnet publish YoutubeDownloader/ -o YoutubeDownloader/bin/Publish --configuration Release

View File

@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net7.0-windows</TargetFramework>
<Version>1.9.6</Version>
<Company>Tyrrrz</Company>
<Copyright>Copyright (C) Oleksii Holub</Copyright>
@ -10,12 +10,4 @@
<WarningsAsErrors>nullable</WarningsAsErrors>
</PropertyGroup>
<!--
Even though the project builds against .NET 6, some dependencies
apparently rely on a specific version of the runtime.
-->
<PropertyGroup>
<RuntimeFrameworkVersion>6.0.9</RuntimeFrameworkVersion>
</PropertyGroup>
</Project>