Skip to content

Commit

Permalink
chore: update to net6
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelpadovezi committed Nov 25, 2024
1 parent 43dec69 commit 3fd95a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:

tests:
working_dir: "/app"
image: mcr.microsoft.com/dotnet/sdk:5.0
image: mcr.microsoft.com/dotnet/sdk:6.0
environment:
ConnectionStrings__BookmarkManagerContext: "Server=sqlserver;Initial Catalog=BookmarkManager;User ID=sa;Password=Password1;TrustServerCertificate=True"
RabbitMQ__HostName: "rabbitmq"
Expand Down
8 changes: 4 additions & 4 deletions src/BookmarkManager.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CliFx" Version="1.6.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="9.4.0" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.30" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
<PackageReference Include="RabbitMQ.Client" Version="6.2.1" />
</ItemGroup>

</Project>
</Project>
6 changes: 3 additions & 3 deletions tests/BookmarkManager.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="Moq" Version="4.16.1" />
<PackageReference Include="Moq.Contrib.HttpClient" Version="1.3.0" />
Expand Down Expand Up @@ -35,4 +35,4 @@
</None>
</ItemGroup>

</Project>
</Project>

0 comments on commit 3fd95a6

Please sign in to comment.