Skip to content

Commit

Permalink
boost(.NET): Move to .NET 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Belphemur committed Sep 29, 2021
1 parent b33ef84 commit 4d1fb42
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROJECT_NAME: "SoundSwitch"
ARCH: "win-x64"
FRAMEWORK: "net5.0-windows"
FRAMEWORK: "net6.0-windows"
NODEJS: 16
DOTNET: "5.0.x"
DOTNET: "6.0.x"
CONFIGURATION: "Nightly"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if "%~1" neq "" (


set FILE_DIR=%~dp0
set FRAMEWORK=net5.0-windows
set FRAMEWORK=net6.0-windows
set ARCH=win-x64
set BIN_DIR=%FILE_DIR%SoundSwitch\bin\%buildPlatform%\%FRAMEWORK%\%ARCH%\publish

Expand Down
2 changes: 1 addition & 1 deletion SoundSwitch.Audio.Manager/SoundSwitch.Audio.Manager.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<OutputType>Library</OutputType>
<LangVersion>latest</LangVersion>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion SoundSwitch.Common/SoundSwitch.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netstandard2.1</TargetFramework>
<OutputType>Library</OutputType>
<Deterministic>false</Deterministic>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion SoundSwitch.Tests/SoundSwitch.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>

<IsPackable>false</IsPackable>

Expand Down
2 changes: 1 addition & 1 deletion SoundSwitch.UI.Menu/SoundSwitch.UI.Menu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<UseWindowsForms>true</UseWindowsForms>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<Configurations>Debug;Release;Nightly</Configurations>
<Platforms>AnyCPU</Platforms>
Expand Down
8 changes: 4 additions & 4 deletions SoundSwitch/SoundSwitch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<PublishReadyToRun>true</PublishReadyToRun>
<Configurations>Debug;Release;Beta;Nightly</Configurations>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<PropertyGroup>
<RuntimeFrameworkVersion>5.0.9</RuntimeFrameworkVersion>
</PropertyGroup>
<!-- <PropertyGroup>-->
<!-- <RuntimeFrameworkVersion>5.0.9</RuntimeFrameworkVersion>-->
<!-- </PropertyGroup>-->

<PropertyGroup>
<TargetPlatformVersion>8.0</TargetPlatformVersion>
Expand Down

0 comments on commit 4d1fb42

Please sign in to comment.