Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to .NET 9 #17

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
ports:
- "5432:5432"
env:
DOTNET_VERSION: 8.0
DOTNET_VERSION: 9.0
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
Expand All @@ -47,7 +47,7 @@ jobs:
if [[ $BRANCH == "main" ]]
then
BUILD_NUMBER=$GITHUB_RUN_NUMBER
VERSION="1.0.${BUILD_NUMBER}"
VERSION="2.0.${BUILD_NUMBER}"
Dragemil marked this conversation as resolved.
Show resolved Hide resolved
PUBLISH_ARTIFACTS=1
else
VERSION="0.0.0"
Expand Down
2 changes: 1 addition & 1 deletion backend/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
<OutputType>library</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<DebugType>portable</DebugType>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
27 changes: 13 additions & 14 deletions backend/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project>
<PropertyGroup>
<CoreLibVersion>8.0.2305-preview</CoreLibVersion>
<EFCoreVersion>8.0.0</EFCoreVersion>
<CoreLibVersion>9.0.2542-preview</CoreLibVersion>
<EFCoreVersion>9.0.0</EFCoreVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Update="LeanCode.Contracts" Version="2.0.0-preview.3" />
<PackageReference Update="LeanCode.Contracts" Version="2.0.0" />

<PackageReference Update="LeanCode.Components" Version="$(CoreLibVersion)" />
<PackageReference Update="LeanCode.CQRS.AspNetCore" Version="$(CoreLibVersion)" />
Expand All @@ -19,26 +19,25 @@
</ItemGroup>

<ItemGroup>
<PackageReference Update="FluentValidation" Version="11.5.1" />
<PackageReference Update="MassTransit" Version="8.1.1" />
<PackageReference Update="FluentValidation" Version="11.11.0" />
<PackageReference Update="MassTransit" Version="8.3.2" />
<PackageReference Update="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />
<PackageReference Update="Microsoft.EntityFrameworkCore.Relational" Version="$(EFCoreVersion)" />
<PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.0" />
<PackageReference Update="Serilog" Version="3.0.1" />
<PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.1" />
<PackageReference Update="Serilog" Version="4.1.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="FluentAssertions" Version="6.12.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Update="FluentAssertions" Version="7.0.0" />
<PackageReference Update="LeanCode.CQRS.AspNetCore" Version="$(CoreLibVersion)" />
<PackageReference Update="LeanCode.IntegrationTestHelpers" Version="$(CoreLibVersion)" />
<PackageReference Update="LeanCode.Startup.MicrosoftDI" Version="$(CoreLibVersion)" />
<PackageReference Update="Microsoft.EntityFrameworkCore.SqlServer" Version="$(EFCoreVersion)" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.6.0"/>
<PackageReference Update="NSubstitute" Version="5.1.0" />
<PackageReference Update="xunit" Version="2.5.3" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.5.3" />
<PackageReference Update="coverlet.collector" Version="6.0.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.12.0"/>
<PackageReference Update="NSubstitute" Version="5.3.0" />
<PackageReference Update="xunit" Version="2.9.2" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.8.2" />
<PackageReference Update="coverlet.collector" Version="6.0.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected override void ConfigureApp(IApplicationBuilder app)

app.UseEndpoints(endpoints =>
{
endpoints.MapRemoteCqrs(
endpoints.MapRemoteCQRS(
"/api",
cqrs =>
{
Expand Down
1 change: 0 additions & 1 deletion backend/tests/Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Tests</AssemblyName>
</PropertyGroup>

Expand Down
Loading