Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down
6 changes: 6 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>
13 changes: 13 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Backport.System.Threading.Lock" Version="3.1.5" />
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
<PackageVersion Include="System.Runtime.Caching" Version="10.0.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="MSTest.TestAdapter" Version="4.0.2" />
<PackageVersion Include="MSTest.TestFramework" Version="4.0.2" />
</ItemGroup>
</Project>
25 changes: 12 additions & 13 deletions FastCache.Benchmarks/FastCache.Benchmarks.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.2" />
<PackageReference Include="System.Runtime.Caching" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" />
<PackageReference Include="System.Runtime.Caching" />
</ItemGroup>

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

</Project>
2 changes: 1 addition & 1 deletion FastCache.Benchmarks/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[ShortRunJob, MemoryDiagnoser]
public class BenchMark
{
private static FastCache<string, int> _cache = new FastCache<string, int>(600_000);
private static FastCache<string, int> _cache = new(600_000);
private static ConcurrentDictionary<string, int> _dict = new();

private static DateTime _dtPlus10Mins = DateTime.Now.AddMinutes(10);
Expand Down
37 changes: 0 additions & 37 deletions FastCache.sln

This file was deleted.

11 changes: 11 additions & 0 deletions FastCache.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Solution>
<Folder Name="/Solution Items/">
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
<File Path="LICENSE" />
<File Path="README.md" />
</Folder>
<Project Path="FastCache.Benchmarks/FastCache.Benchmarks.csproj" />
<Project Path="FastCache/FastCache.csproj" />
<Project Path="UnitTests/UnitTests.csproj" />
</Solution>
Loading