Switch from .NET 5 to .NET 6.
MODIFY
WalletWasabi.Backend/WalletWasabi.Backend.csproj
WalletWasabi.Backend/WalletWasabi.Backend.csproj
<PropertyGroup>
<PlatformTarget>x64</PlatformTarget>
- <TargetFramework>net5.0</TargetFramework>
+ <TargetFramework>net6.0</TargetFramework>
+ <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<AnalysisLevel>latest</AnalysisLevel>
<LangVersion>latest</LangVersion>
<NoWarn>1701;1702;1705;1591;1573;CA1031;CA1822</NoWarn>
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <DocumentationFile>bin\Debug\net5.0\WalletWasabi.Backend.xml</DocumentationFile>
+ <DocumentationFile>bin\Debug\net6.0\WalletWasabi.Backend.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<!-- Needed for Swagger! -->
- <DocumentationFile>bin\Release\net5.0\WalletWasabi.Backend.xml</DocumentationFile>
+ <DocumentationFile>bin\Release\net6.0\WalletWasabi.Backend.xml</DocumentationFile>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<ErrorReport>none</ErrorReport>

MODIFY
WalletWasabi.Documentation/BackendDeployment.md
WalletWasabi.Documentation/BackendDeployment.md
@@ -258,8 +258,8 @@ sudo pico /etc/systemd/system/walletwasabi.service
Description=WalletWasabi Backend API
[Service]
-WorkingDirectory=/home/user/WalletWasabi/WalletWasabi.Backend/bin/Release/net5.0/publish
-ExecStart=/usr/bin/dotnet /home/user/WalletWasabi/WalletWasabi.Backend/bin/Release/net5.0/publish/WalletWasabi.Backend.dll
+WorkingDirectory=/home/user/WalletWasabi/WalletWasabi.Backend/bin/Release/net6.0/publish
+ExecStart=/usr/bin/dotnet /home/user/WalletWasabi/WalletWasabi.Backend/bin/Release/net6.0/publish/WalletWasabi.Backend.dll
Restart=always
RestartSec=10 # Restart service after 10 seconds if dotnet service crashes
SyslogIdentifier=walletwasabi-backend

MODIFY
WalletWasabi.Fluent.Desktop/WalletWasabi.Fluent.Desktop.csproj
WalletWasabi.Fluent.Desktop/WalletWasabi.Fluent.Desktop.csproj
</PropertyGroup>
<PropertyGroup>
- <TargetFramework>net5.0</TargetFramework>
+ <TargetFramework>net6.0</TargetFramework>
+ <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<AnalysisLevel>latest</AnalysisLevel>
<LangVersion>latest</LangVersion>
<NoWarn>1701;1702;1705;1591;1573;CA1031;CA1822</NoWarn>

MODIFY
WalletWasabi.Fluent.Desktop/packages.lock.json
WalletWasabi.Fluent.Desktop/packages.lock.json
{
"version": 1,
"dependencies": {
- ".NETCoreApp,Version=v5.0": {
+ "net6.0": {
"Avalonia": {
"type": "Direct",
"requested": "[0.10.10, )",
}
}
},
- ".NETCoreApp,Version=v5.0/linux-x64": {
+ "net6.0/linux-x64": {
"Avalonia.Angle.Windows.Natives": {
"type": "Transitive",
"resolved": "2.1.0.2020091801",
}
}
},
- ".NETCoreApp,Version=v5.0/osx-x64": {
+ "net6.0/osx-x64": {
"Avalonia.Angle.Windows.Natives": {
"type": "Transitive",
"resolved": "2.1.0.2020091801",
}
}
},
- ".NETCoreApp,Version=v5.0/win7-x64": {
+ "net6.0/win7-x64": {
"Avalonia.Angle.Windows.Natives": {
"type": "Transitive",
"resolved": "2.1.0.2020091801",

MODIFY
WalletWasabi.Fluent/WalletWasabi.Fluent.csproj
WalletWasabi.Fluent/WalletWasabi.Fluent.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net5.0</TargetFramework>
+ <TargetFramework>net6.0</TargetFramework>
+ <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<AnalysisLevel>latest</AnalysisLevel>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>

MODIFY
WalletWasabi.Packager/WalletWasabi.Packager.csproj
WalletWasabi.Packager/WalletWasabi.Packager.csproj
<PropertyGroup>
<PlatformTarget>x64</PlatformTarget>
<OutputType>Exe</OutputType>
- <TargetFramework>net5.0</TargetFramework>
+ <TargetFramework>net6.0</TargetFramework>
+ <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<AnalysisLevel>latest</AnalysisLevel>
<LangVersion>latest</LangVersion>
<NoWarn>1701;1702;1705;1591;1573;CA1031;CA1822</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <DocumentationFile>bin\Debug\net5.0\WalletWasabi.Packager.xml</DocumentationFile>
+ <DocumentationFile>bin\Debug\net6.0\WalletWasabi.Packager.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

MODIFY
WalletWasabi.Packager/packages.lock.json
WalletWasabi.Packager/packages.lock.json
{
"version": 1,
"dependencies": {
- ".NETCoreApp,Version=v5.0": {
+ "net6.0": {
"Microsoft.AspNetCore.JsonPatch": {
"type": "Transitive",
"resolved": "5.0.5",
}
}
},
- ".NETCoreApp,Version=v5.0/linux-x64": {
+ "net6.0/linux-x64": {
"Microsoft.Win32.SystemEvents": {
"type": "Transitive",
"resolved": "5.0.0",
}
}
},
- ".NETCoreApp,Version=v5.0/osx-x64": {
+ "net6.0/osx-x64": {
"Microsoft.Win32.SystemEvents": {
"type": "Transitive",
"resolved": "5.0.0",
}
}
},
- ".NETCoreApp,Version=v5.0/win7-x64": {
+ "net6.0/win7-x64": {
"Microsoft.Win32.SystemEvents": {
"type": "Transitive",
"resolved": "5.0.0",

MODIFY
WalletWasabi.Tests/WalletWasabi.Tests.csproj
WalletWasabi.Tests/WalletWasabi.Tests.csproj
<PropertyGroup>
<PlatformTarget>x64</PlatformTarget>
- <TargetFramework>net5.0</TargetFramework>
+ <TargetFramework>net6.0</TargetFramework>
+ <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<AnalysisLevel>latest</AnalysisLevel>
<IsPackable>false</IsPackable>
<LangVersion>latest</LangVersion>

MODIFY
WalletWasabi/WalletWasabi.csproj
WalletWasabi/WalletWasabi.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net5.0</TargetFramework>
+ <TargetFramework>net6.0</TargetFramework>
+ <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<AnalysisLevel>latest</AnalysisLevel>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <DocumentationFile>bin\Debug\net5.0\WalletWasabi.xml</DocumentationFile>
+ <DocumentationFile>bin\Debug\net6.0\WalletWasabi.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

MODIFY
WalletWasabi/packages.lock.json
WalletWasabi/packages.lock.json
{
"version": 1,
"dependencies": {
- ".NETCoreApp,Version=v5.0": {
+ "net6.0": {
"Microsoft.AspNetCore.Mvc.NewtonsoftJson": {
"type": "Direct",
"requested": "[5.0.5, )",
}
}
},
- ".NETCoreApp,Version=v5.0/linux-x64": {
+ "net6.0/linux-x64": {
"Microsoft.Win32.SystemEvents": {
"type": "Direct",
"requested": "[5.0.0, )",
}
}
},
- ".NETCoreApp,Version=v5.0/osx-x64": {
+ "net6.0/osx-x64": {
"Microsoft.Win32.SystemEvents": {
"type": "Direct",
"requested": "[5.0.0, )",
}
}
},
- ".NETCoreApp,Version=v5.0/win7-x64": {
+ "net6.0/win7-x64": {
"Microsoft.Win32.SystemEvents": {
"type": "Direct",
"requested": "[5.0.0, )",

Switch from .NET 5 to .NET 6.