Skip to content

Commit

Permalink
Merge pull request #82 from chatsuite-io/81-upgrade-to-net-90
Browse files Browse the repository at this point in the history
#81 Upgraded to dotnet sdk 9.0
  • Loading branch information
Arash-Sabet authored Nov 23, 2024
2 parents 411fcc8 + 101c560 commit 5d6fed1
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 26 deletions.
39 changes: 20 additions & 19 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,35 @@
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="DBreeze" Version="1.118.2024.1016" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
<PackageVersion Include="FluentValidation" Version="11.10.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="9.0.0" />
<PackageVersion Include="FluentValidation" Version="11.11.0" />
<PackageVersion Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Serilog" Version="4.1.0" />
<PackageVersion Include="Serilog.Extensions.Logging" Version="8.0.0" />
<PackageVersion Include="Serilog.Settings.Configuration" Version="8.0.4" />
<PackageVersion Include="Serilog.Extensions.Hosting" Version="8.0.0" />
<PackageVersion Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageVersion Include="Serilog.Sinks.ApplicationInsights" Version="4.0.0" />
<PackageVersion Include="Polly" Version="8.4.2" />
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="8.0.10" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="8.0.2" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
<PackageVersion Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.10" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client.Core" Version="8.0.10" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<PackageVersion Include="Microsoft.Identity.Client" Version="4.66.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="Polly" Version="8.5.0" />
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.FileExtensions" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client.Core" Version="9.0.0" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.0" />
<PackageVersion Include="Microsoft.Identity.Client" Version="4.66.2" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="System.Text.Json" Version="9.0.0" />
<PackageVersion Include="xunit" Version="2.9.2" />
<PackageVersion Include="Xunit.Microsoft.DependencyInjection" Version="8.2.2" />
<PackageVersion Include="Xunit.Microsoft.DependencyInjection" Version="9.0.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 1 addition & 1 deletion build/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ steps:
displayName: 'Installing .NET SDK 8.0'
inputs:
packageType: sdk
version: 8.0.403
version: 9.0.100
installationPath: $(Agent.ToolsDirectory)/dotnet
- task: DotNetCoreCLI@2
displayName: 'Building'
Expand Down
6 changes: 3 additions & 3 deletions build/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variables:
Major: 1
Minor: 2
Rev: 3
Minor: 3
Rev: 0
BuildConfiguration: Release

name: $(Major).$(Minor).$(Rev)
Expand All @@ -25,7 +25,7 @@ steps:
displayName: 'Installing .NET SDK 8.0'
inputs:
packageType: sdk
version: 8.0.403
version: 9.0.100
installationPath: $(Agent.ToolsDirectory)/dotnet

- task: DotNetCoreCLI@2
Expand Down
3 changes: 2 additions & 1 deletion src/ChatSuite.Sdk/ChatSuite.Sdk/ChatSuite.Sdk.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<langVersion>latest</langVersion>
Expand Down Expand Up @@ -30,6 +30,7 @@
<PackageReference Include="Serilog.Sinks.ApplicationInsights" />
<PackageReference Include="Polly" />
<PackageReference Include="Microsoft.Extensions.Http.Polly" />
<PackageReference Include="System.Text.Json" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand Down Expand Up @@ -31,6 +31,7 @@
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Serilog.Settings.Configuration" />
<PackageReference Include="xunit" />
<PackageReference Include="Xunit.Microsoft.DependencyInjection" />
<PackageReference Include="xunit.runner.visualstudio">
Expand Down
3 changes: 2 additions & 1 deletion tests/ChatSuite.Sdk.UnitTests/ChatSuite.Sdk.UnitTests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand All @@ -17,6 +17,7 @@
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Microsoft.Extensions.Options" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Serilog.Settings.Configuration" />
<PackageReference Include="xunit" />
<PackageReference Include="Xunit.Microsoft.DependencyInjection" />
<PackageReference Include="xunit.runner.visualstudio">
Expand Down

0 comments on commit 5d6fed1

Please sign in to comment.