Skip to content

Commit

Permalink
dotnet 8
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Jan 5, 2024
1 parent eb30a07 commit 120a38b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build sample job",
"program": "${workspaceFolder}/samples/Foundatio.SampleJob/bin/Debug/net6.0/Foundatio.SampleJob.dll",
"program": "${workspaceFolder}/samples/Foundatio.SampleJob/bin/Debug/net8.0/Foundatio.SampleJob.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/Foundatio.SampleJob",
"console": "integratedTerminal",
Expand All @@ -17,7 +17,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build sample client",
"program": "${workspaceFolder}/samples/Foundatio.SampleJobClient/bin/Debug/net6.0/Foundatio.SampleJobClient.dll",
"program": "${workspaceFolder}/samples/Foundatio.SampleJobClient/bin/Debug/net8.0/Foundatio.SampleJobClient.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/Foundatio.SampleJobClient",
"console": "integratedTerminal",
Expand All @@ -28,7 +28,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/test/Foundatio.Benchmarks/bin/Debug/net6.0/Foundatio.Benchmarks.dll",
"program": "${workspaceFolder}/test/Foundatio.Benchmarks/bin/Debug/net8.0/Foundatio.Benchmarks.dll",
"args": [],
"cwd": "${workspaceFolder}/test/Foundatio.Benchmarks",
"console": "internalConsole",
Expand Down
2 changes: 1 addition & 1 deletion build/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<MinVerTagPrefix>v</MinVerTagPrefix>
<ReferenceFoundatioSource Condition="$(SolutionName.Contains('All')) Or !$(SolutionName.Contains('Foundatio'))">true</ReferenceFoundatioSource>

<Copyright>Copyright (c) 2023 Foundatio. All rights reserved.</Copyright>
<Copyright>Copyright (c) 2024 Foundatio. All rights reserved.</Copyright>
<Authors>FoundatioFx</Authors>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<WarningsAsErrors>true</WarningsAsErrors>
Expand Down
6 changes: 3 additions & 3 deletions samples/Foundatio.SampleJob/Foundatio.SampleJob.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\common.props" />
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<IsPackable>False</IsPackable>
</PropertyGroup>
Expand All @@ -10,7 +10,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Exceptionless.RandomData" Version="1.2.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<Import Project="..\..\build\common.props" />

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<IsPackable>False</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Foundatio.Xunit" Version="10.6.1" />
<PackageReference Include="Foundatio.Xunit" Version="10.6.2-alpha.0.13" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Foundatio.Redis\Foundatio.Redis.csproj" />
</ItemGroup>
</Project>
</Project>
3 changes: 2 additions & 1 deletion src/Foundatio.Redis/Foundatio.Redis.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\common.props" />
<ItemGroup>
<PackageReference Include="Foundatio" Version="10.6.1" Condition="'$(ReferenceFoundatioSource)' == '' OR '$(ReferenceFoundatioSource)' == 'false'" />
<PackageReference Include="Foundatio" Version="10.6.2-alpha.0.13" Condition="'$(ReferenceFoundatioSource)' == '' OR '$(ReferenceFoundatioSource)' == 'false'" />
<ProjectReference Include="..\..\..\Foundatio\src\Foundatio\Foundatio.csproj" Condition="'$(ReferenceFoundatioSource)' == 'true'" />

<PackageReference Include="StackExchange.Redis" Version="2.7.10" />
</ItemGroup>
<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions tests/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<Import Project="..\build\common.props" />
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<IsPackable>False</IsPackable>
<NoWarn>$(NoWarn);CS1591;NU1701</NoWarn>
</PropertyGroup>
Expand All @@ -11,7 +11,7 @@
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6" />
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3" PrivateAssets="All" />

<PackageReference Include="Foundatio.TestHarness" Version="10.6.1" Condition="'$(ReferenceFoundatioSource)' == '' OR '$(ReferenceFoundatioSource)' == 'false'" />
<PackageReference Include="Foundatio.TestHarness" Version="10.6.2-alpha.0.13" Condition="'$(ReferenceFoundatioSource)' == '' OR '$(ReferenceFoundatioSource)' == 'false'" />
<ProjectReference Include="..\..\..\Foundatio\src\Foundatio.TestHarness\Foundatio.TestHarness.csproj" Condition="'$(ReferenceFoundatioSource)' == 'true'" />
</ItemGroup>
</Project>
</Project>

0 comments on commit 120a38b

Please sign in to comment.