Update to .NET Core 2.1
MODIFY
.coverage.sh
.coverage.sh
NUGET_PACKAGES_PATH=$HOME/.nuget/packages
-FRAMEWORK=netcoreapp2.0
+FRAMEWORK=netcoreapp2.1
FILTER=FullyQualifiedName~WalletWasabi.Tests$1
ALTCOVER_VERSION=3.0.490

MODIFY
.travis.yml
.travis.yml
language: csharp
mono: none
-dotnet: 2.0.2
+dotnet: 2.1
notifications:
email: false

MODIFY
WalletWasabi.Backend/WalletWasabi.Backend.csproj
WalletWasabi.Backend/WalletWasabi.Backend.csproj
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
- <TargetFramework>netcoreapp2.0</TargetFramework>
+ <TargetFramework>netcoreapp2.1</TargetFramework>
<LangVersion>latest</LangVersion>
<NoWarn>1701;1702;1705;1591;1573</NoWarn>
<Version>1.0</Version>
</PropertyGroup>
<ItemGroup>
- <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.8" />
- <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.4" />
+ <PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.0" />
+ <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="2.4.0" />
</ItemGroup>
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <DocumentationFile>bin\Debug\netcoreapp2.0\WalletWasabi.Backend.xml</DocumentationFile>
+ <DocumentationFile>bin\Debug\netcoreapp2.1\WalletWasabi.Backend.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
- <DocumentationFile>bin\Release\netcoreapp2.0\WalletWasabi.Backend.xml</DocumentationFile>
+ <DocumentationFile>bin\Release\netcoreapp2.1\WalletWasabi.Backend.xml</DocumentationFile>
</PropertyGroup>
</Project>

MODIFY
WalletWasabi.Documentation/BackendDeployment.md
WalletWasabi.Documentation/BackendDeployment.md
@@ -142,12 +142,12 @@ cd WalletWasabi
dotnet restore
dotnet build
dotnet publish WalletWasabi.Backend --configuration Release --self-contained false
-dotnet WalletWasabi.Backend/bin/Release/netcoreapp2.0/publish/WalletWasabi.Backend.dll
+dotnet WalletWasabi.Backend/bin/Release/netcoreapp2.1/publish/WalletWasabi.Backend.dll
cd ..
cat .walletwasabi/backend/Logs.txt
pico .walletwasabi/backend/Config.json
pico .walletwasabi/backend/CcjRoundConfig.json
-dotnet WalletWasabi/WalletWasabi.Backend/bin/Release/netcoreapp2.0/publish/WalletWasabi.Backend.dll
+dotnet WalletWasabi/WalletWasabi.Backend/bin/Release/netcoreapp2.1/publish/WalletWasabi.Backend.dll
cat .walletwasabi/backend/Logs.txt
```
@@ -166,8 +166,8 @@ sudo pico /etc/systemd/system/walletwasabi.service
Description=WalletWasabi Backend API
[Service]
-WorkingDirectory=/home/user/WalletWasabi/WalletWasabi.Backend/bin/Release/netcoreapp2.0/publish
-ExecStart=/usr/bin/dotnet /home/user/WalletWasabi/WalletWasabi.Backend/bin/Release/netcoreapp2.0/publish/WalletWasabi.Backend.dll
+WorkingDirectory=/home/user/WalletWasabi/WalletWasabi.Backend/bin/Release/netcoreapp2.1/publish
+ExecStart=/usr/bin/dotnet /home/user/WalletWasabi/WalletWasabi.Backend/bin/Release/netcoreapp2.1/publish/WalletWasabi.Backend.dll
Restart=always
RestartSec=10 # Restart service after 10 seconds if dotnet service crashes
SyslogIdentifier=walletwasabi-backend

MODIFY
WalletWasabi/WalletWasabi.csproj
WalletWasabi/WalletWasabi.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>netcoreapp2.0</TargetFramework>
+ <TargetFramework>netcoreapp2.1</TargetFramework>
<LangVersion>latest</LangVersion>
<NoWarn>1701;1702;1705;1591;1573</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
- <DocumentationFile>bin\Release\netcoreapp2.0\WalletWasabi.xml</DocumentationFile>
+ <DocumentationFile>bin\Release\netcoreapp2.1\WalletWasabi.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <DocumentationFile>bin\Debug\netcoreapp2.0\WalletWasabi.xml</DocumentationFile>
+ <DocumentationFile>bin\Debug\netcoreapp2.1\WalletWasabi.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>

Update to .NET Core 2.1