Skip to content

Commit

Permalink
Update target frameworks and package versions
Browse files Browse the repository at this point in the history
- Update `Snowflake.Redis.Sample.csproj` target framework to `net8.0`.
- Update `Snowflake.Redis.csproj` target frameworks to `net8.0;net7.0;net6.0;net5.0;netcoreapp3.1`.
- Update `CSRedisCore` to `3.8.803` and `Microsoft.SourceLink.GitHub` to `8.0.0` with `buildtransitive` in `Snowflake.Redis.csproj`.
- Update `Microsoft.SourceLink.GitHub` to `8.0.0` with `buildtransitive` in `Snowflake.csproj`.
  • Loading branch information
hueifeng committed Aug 30, 2024
1 parent 1f04d3a commit 21255d6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Snowflake.Redis.Sample/Snowflake.Redis.Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

Expand Down
8 changes: 4 additions & 4 deletions Snowflake.Redis/Snowflake.Redis.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<PackageId>Snowflake.Redis.CSharp</PackageId>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Authors>HueiFeng</Authors>
Expand All @@ -19,17 +19,17 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CSRedisCore" Version="3.6.5" />
<PackageReference Include="CSRedisCore" Version="3.8.803" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Snowflake\Snowflake.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

Expand Down
8 changes: 4 additions & 4 deletions Snowflake/Snowflake.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>

0 comments on commit 21255d6

Please sign in to comment.