Update to .NET Core 3.1.

This commit is contained in:
2020-06-14 16:13:47 +01:00
parent 78ee88a799
commit b4c4086ab7
20 changed files with 42 additions and 44 deletions

View File

@@ -5,8 +5,6 @@
<e p="$USER_HOME$/.cache/JetBrains/Rider2020.1/resharper-host/local/Transient/ReSharperHost/v201/SolutionCaches/_Aaru.232757112.00" t="ExcludeRecursive" />
<e p="$APPLICATION_CONFIG_DIR$/consoles/db" t="IncludeRecursive" />
<e p="$APPLICATION_CONFIG_DIR$/extensions" t="IncludeRecursive" />
<e p="$APPLICATION_CONFIG_DIR$/scratches" t="IncludeRecursive" />
<e p="$USER_HOME$/.config/git/ignore" t="IncludeRecursive" />
<e p="$APPLICATION_PLUGINS_DIR$/puppet/lib/stubs" t="IncludeRecursive" />
<e p="$PROJECT_DIR$" t="IncludeFlat">
<e p=".git/info/exclude" t="IncludeRecursive" />
@@ -83,7 +81,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -112,7 +110,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Checksums.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -203,7 +201,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.CommonTypes.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -216,7 +214,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Compression.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -230,7 +228,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Console.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -344,7 +342,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Core.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -430,7 +428,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Database.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -588,7 +586,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Decoders.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -672,7 +670,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Devices.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -690,7 +688,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Dto.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -894,7 +892,7 @@
<e p="extFS.cs" t="Include" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Filesystems.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -917,7 +915,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Filters.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -1374,7 +1372,8 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Gui.AssemblyInfo.cs" t="Include" />
<e p="Avalonia" t="Include">
<e p="resources" t="Include" />
</e>
@@ -1402,7 +1401,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Helpers.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -1970,7 +1969,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Images.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -2003,7 +2002,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Partitions.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -2015,7 +2014,7 @@
<e p="bin" t="ExcludeRecursive" />
<e p="obj" t="ExcludeRecursive">
<e p="Debug" t="Include">
<e p="netcoreapp3.0" t="Include">
<e p="netcoreapp3.1" t="Include">
<e p="Aaru.Settings.AssemblyInfo.cs" t="Include" />
</e>
</e>
@@ -2224,7 +2223,6 @@
<e p="Avalonia" t="Include">
<e p="resources" t="Include" />
</e>
<e p="OxyPlot.Avalonia.AssemblyInfo.cs" t="Include" />
</e>
</e>
</e>

View File

@@ -18,7 +18,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru Data Preservation Suite</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -17,7 +17,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru.Core</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup>

View File

@@ -16,7 +16,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru.Database</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -17,7 +17,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru.Devices</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -17,7 +17,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru.Filesystems</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>CS0649</NoWarn>
<LangVersion>latest</LangVersion>
</PropertyGroup>

View File

@@ -17,7 +17,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru.Filters</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -10,7 +10,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru Data Preservation Suite</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>CS0649,CS0169</NoWarn>
</PropertyGroup>
<PropertyGroup>

View File

@@ -17,7 +17,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru.DiscImages</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>CS0649</NoWarn>
</PropertyGroup>
<PropertyGroup>

View File

@@ -17,7 +17,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru.Partitions</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>CS0649</NoWarn>
</PropertyGroup>
<PropertyGroup>

View File

@@ -17,7 +17,7 @@
<Product>Aaru Data Preservation Suite</Product>
<Title>Aaru.Settings</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -10,7 +10,7 @@
<AssemblyName>aaru</AssemblyName>
<ReleaseVersion>$(Version)</ReleaseVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>5.0.99.2991</Version>
<Company>Claunia.com</Company>

View File

@@ -10,7 +10,7 @@ for conf in Debug Release;
do
for distro in alpine-x64 linux-arm64 linux-arm linux-x64 osx-x64 win-arm64 win-arm win-x64 win-x86 debian-arm debian-arm64 debian-x64 rhel-arm64 rhel-x64 sles-x64;
do
dotnet publish -f netcoreapp3.0 -r ${distro} -c ${conf}
dotnet publish -f netcoreapp3.1 -r ${distro} -c ${conf}
# Package the Linux packages
if [[ ${distro} == alpine* ]] || [[ ${distro} == linux* ]]; then
@@ -22,7 +22,7 @@ do
else
pkg="deb"
fi
dotnet ${pkg} -f netcoreapp3.0 -r ${distro} -c ${conf} -o ../build
dotnet ${pkg} -f netcoreapp3.1 -r ${distro} -c ${conf} -o ../build
done
done
@@ -66,10 +66,10 @@ mkdir -p build/macos/Aaru.app/Contents/Resources
mkdir -p build/macos/Aaru.app/Contents/MacOS
cp Aaru/Aaru.icns build/macos/Aaru.app/Contents/Resources
cp Aaru/Info.plist build/macos/Aaru.app/Contents
cp -r Aaru/bin/Release/netcoreapp3.0/osx-x64/publish/* build/macos/Aaru.app/Contents/MacOS
cp -r Aaru/bin/Release/netcoreapp3.1/osx-x64/publish/* build/macos/Aaru.app/Contents/MacOS
rm -Rf build/macos-dbg/Aaru.app
mkdir -p build/macos-dbg/Aaru.app/Contents/Resources
mkdir -p build/macos-dbg/Aaru.app/Contents/MacOS
cp Aaru/Aaru.icns build/macos-dbg/Aaru.app/Contents/Resources
cp Aaru/Info.plist build/macos-dbg/Aaru.app/Contents
cp -r Aaru/bin/Debug/netcoreapp3.0/osx-x64/publish/* build/macos-dbg/Aaru.app/Contents/MacOS
cp -r Aaru/bin/Debug/netcoreapp3.1/osx-x64/publish/* build/macos-dbg/Aaru.app/Contents/MacOS

View File

@@ -1,6 +1,6 @@
#@IgnoreInspection BashAddShebang
# Maintainer: Natalia Portillo <claunia@claunia.com>
_netcoretarget='netcoreapp2.1'
_netcoretarget='netcoreapp3.1'
_aarubase='Aaru'
packager='Natalia Portillo <claunia@claunia.com>'
pkgbase='aaru-git'
@@ -12,7 +12,7 @@ arch=('x86_64' 'armv7h' 'aarch64')
url='http://www.aaru.app'
license=('GPL')
source=('git://github.com/aaru-dps/Aaru')
makedepends=('dotnet-sdk>=2.1.0' 'git')
makedepends=('dotnet-sdk>=3.1.0' 'git')
options=('!strip' 'staticlibs')
sha256sums=('SKIP')
provides=('aaru')
@@ -94,4 +94,4 @@ post_upgrade() {
post_remove() {
post_install "$1"
}
}