updating to net 6

This commit is contained in:
Andy Pack 2023-09-03 19:50:01 +01:00
parent 9f5e5c8e00
commit 8f3ce5e959
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7
5 changed files with 17 additions and 13 deletions

View File

@ -9,12 +9,12 @@ jobs:
strategy:
fail-fast: false
matrix:
dotnet-version: [ '3.1.x' ]
dotnet-version: [ '6.0.x' ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v2.1.0
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: ${{ matrix.dotnet-version }}

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>

View File

@ -9,7 +9,7 @@
<None Remove="Model\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Google.Cloud.Firestore" Version="3.0.0" />
<PackageReference Include="Google.Cloud.Firestore" Version="3.3.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="Model\" />

View File

@ -2,12 +2,12 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="1.0.0" />
<PackageReference Include="Google.Events.Protobuf" Version="1.0.0" />
<PackageReference Include="Google.Cloud.Functions.Hosting" Version="2.1.0" />
<PackageReference Include="Google.Events.Protobuf" Version="1.3.0" />
<None Include="appsettings*.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

View File

@ -1,16 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="coverlet.collector" Version="1.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0"><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0"><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>