Target .NET 6.0

This commit is contained in:
Frederik Carlier
2021-11-08 21:47:23 +01:00
parent 4ca51d3737
commit 4e652d40f6
6 changed files with 19 additions and 5 deletions

View File

@@ -19,6 +19,8 @@ resources:
image: mcr.microsoft.com/dotnet/sdk:5.0-bullseye-slim
- container: 5.0-nanoserver
image: mcr.microsoft.com/dotnet/sdk:5.0-nanoserver-1809
- container: 6.0-focal
image: mcr.microsoft.com/dotnet/sdk:6.0-focal
stages:
- stage: Build
@@ -121,6 +123,18 @@ stages:
command: zip
5.0-bullseye-tarball:
container: 5.0-bullseye
6.0-focal-deb:
container: 5.0-focal
command: deb
6.0-focal-rpm:
container: 5.0-focal
command: rpm
6.0-focal-zip:
container: 5.0-focal
command: zip
6.0-focal-tarball:
container: 5.0-focal
command: tarball
container: $[ variables['container'] ]

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<PackageTags>dotnet cli packaging deb debian ubuntu mint installer</PackageTags>
<Description>Create Debian and Ubuntu installers (.deb files ) of your .NET Core projects straight from the command line.

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<PackageTags>dotnet cli packaging rpm package installer</PackageTags>
<Description>Create RPM packages (.rpm files) of your .NET Core projects straight from the command line.

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<PackageTags>dotnet cli packaging tarball tar.gz archive</PackageTags>
<Description>Create tarballs (.tar.gz files) of your .NET Core projects straight from the command line.

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<PackageTags>dotnet cli packaging zip archive</PackageTags>
<Description>Create .zip files of your .NET Core projects straight from the command line.