Set language version to C# 8.0.

This commit is contained in:
2020-07-19 21:44:32 +01:00
parent 386fe10561
commit ad794817b4
19 changed files with 20 additions and 9 deletions

View File

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

View File

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

View File

@@ -17,6 +17,7 @@
<Title>Aaru.Database</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>8</LangVersion>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

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

View File

@@ -19,7 +19,7 @@
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>CS0649</NoWarn>
<LangVersion>latest</LangVersion>
<LangVersion>8</LangVersion>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

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

View File

@@ -12,6 +12,7 @@
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>CS0649,CS0169</NoWarn>
<LangVersion>8</LangVersion>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -19,6 +19,7 @@
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>CS0649</NoWarn>
<LangVersion>8</LangVersion>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -19,6 +19,7 @@
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<NoWarn>CS0649</NoWarn>
<LangVersion>8</LangVersion>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -18,6 +18,7 @@
<Title>Aaru.Settings</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>8</LangVersion>
</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.Tests.Devices</Title>
<ApplicationVersion>$(Version)</ApplicationVersion>
<LangVersion>latest</LangVersion>
<LangVersion>8</LangVersion>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)-{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>

View File

@@ -4,6 +4,8 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
<LangVersion>8</LangVersion>
</PropertyGroup>
<ItemGroup>

View File

@@ -20,6 +20,7 @@
<ApplicationVersion>$(Version)</ApplicationVersion>
<RuntimeIdentifiers>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</RuntimeIdentifiers>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<LangVersion>8</LangVersion>
</PropertyGroup>
<PropertyGroup>
<NrtRevisionFormat>$(Version)+{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>