Skip to content
Prev Previous commit
Next Next commit
chore: update to .NET 8, update NuGet packages
  • Loading branch information
feO2x committed Jun 13, 2024
commit de7c9d4e0496ac512ba86c09df5f97b150c91088
10 changes: 5 additions & 5 deletions Code/Light.SharedCore.Tests/Light.SharedCore.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
<Import Project="Light.SharedCore.Tests.Local.props" Condition="Exists('Light.SharedCore.Tests.Local.props')" />

<PropertyGroup>
<TargetFramework Condition="'$(TargetFramework)' == '' AND '$(TargetFrameworks)' == ''">net7.0</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == '' AND '$(TargetFrameworks)' == ''">net8.0</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Light.SharedCore\Light.SharedCore.csproj" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" PrivateAssets="all" />
<PackageReference Include="FluentAssertions" Version="6.8.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1" PrivateAssets="all" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Light.Xunit" Version="1.0.0" />
</ItemGroup>

Expand Down
12 changes: 6 additions & 6 deletions Code/Light.SharedCore/Light.SharedCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<Nullable>enable</Nullable>
<LangVersion>11.0</LangVersion>
<LangVersion>12.0</LangVersion>
<Version>1.0.0</Version>
<Authors>Kenny Pflug</Authors>
<Company>Kenny Pflug</Company>
<Copyright>Copyright © Kenny Pflug 2022</Copyright>
<Description>Provides common abstractions and in-memory implementations for writing .NET apps.</Description>
<PackageTags>data-access-abstractions;async-factory;clock;number-parsing;entities;dependency-injection-extensions</PackageTags>
<PackageTags>data-access-abstractions;clock;number-parsing;entities</PackageTags>
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<IsPackable>true</IsPackable>
<PackageIcon>light-logo.png</PackageIcon>
Expand Down Expand Up @@ -38,12 +38,12 @@ Light.SharedCore 1.0.0
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Light.GuardClauses" Version="10.0.0" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
<PackageReference Include="Light.GuardClauses" Version="11.0.0" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="IsExternalInit" Version="1.0.3" PrivateAssets="all" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down