Skip to content

Commit

Permalink
update sdk and project versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gpproton committed Dec 11, 2024
1 parent b71adc7 commit 1a51ea0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 37 deletions.
29 changes: 2 additions & 27 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<Title>Axolotl</Title>
<Version>8.0.5</Version>
<Version>9.0.0</Version>
<Authors>radioActive DROID</Authors>
<Description>Personal shared utility library</Description>
<RepositoryType>git</RepositoryType>
Expand All @@ -24,29 +24,4 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PackageIcon>icon.jpg</PackageIcon>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>12.0</LangVersion>
<NextendedVersion>7.0.47</NextendedVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
<ArdalisVersion>7.0.0</ArdalisVersion>
<AspCoreVersion>7.0.14</AspCoreVersion>
<DotnetVersion>7.0.0</DotnetVersion>
<EfcoreVersion>7.0.14</EfcoreVersion>
<BulkExtensions>7.1.6 </BulkExtensions>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<ArdalisVersion>8.0.0</ArdalisVersion>
<AspCoreVersion>8.0.0</AspCoreVersion>
<DotnetVersion>8.0.0</DotnetVersion>
<EfcoreVersion>8.0.0</EfcoreVersion>
<BulkExtensions>8.0.0</BulkExtensions>
</PropertyGroup>

</Project>
</Project>
42 changes: 34 additions & 8 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,40 @@

<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>13.0</LangVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<ArdalisVersion>8.0.0</ArdalisVersion>
<AspCoreVersion>8.0.11</AspCoreVersion>
<DotnetVersion>8.0.0</DotnetVersion>
<EfcoreVersion>8.0.11</EfcoreVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
<ArdalisVersion>8.0.0</ArdalisVersion>
<AspCoreVersion>9.0.0</AspCoreVersion>
<DotnetVersion>9.0.0</DotnetVersion>
<EfcoreVersion>9.0.0</EfcoreVersion>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageVersion Include="System.Net.Http.Json" Version="8.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.11" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
<PackageVersion Include="System.Net.Http.Json" Version="9.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="$(DotnetVersion)" />
</ItemGroup>

<!-- Shared packages -->
<ItemGroup>
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(DotnetVersion)" />
<PackageVersion Include="Microsoft.Extensions.Primitives" Version="$(DotnetVersion)" />
<PackageVersion Include="System.Net.Http.Json" Version="$(DotnetVersion)" />
<PackageVersion Include="Mapster" Version="7.4.0" />
</ItemGroup>

Expand All @@ -35,11 +62,10 @@

<!-- Test packages -->
<ItemGroup>
<PackageVersion Include="AutoFixture" Version="4.11.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="$(DotnetVersion)" />
<PackageVersion Include="xunit" Version="2.4.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageVersion Include="coverlet.collector" Version="3.2.0" />
<PackageVersion Include="AutoFixture" Version="4.18.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="xunit" Version="2.9.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
</ItemGroup>
</Project>
</Project>
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.200",
"version": "9.0.100",
"rollForward": "latestPatch"
},
"scripts": {
Expand All @@ -14,4 +14,4 @@
"m:init": "dotnet ef migrations add --project samples/aspnet-sample/Axolotl.AspNetSample.csproj --configuration Debug Initial --output-dir Migrations",
"m:update": "dotnet ef database update --project samples/aspnet-sample/Axolotl.AspNetSample.csproj --configuration Debug"
}
}
}

0 comments on commit 1a51ea0

Please sign in to comment.