Skip to content

Commit 1869d15

Browse files
Initial exploration and build fixes
Co-authored-by: AkhmedovEhson <129420305+AkhmedovEhson@users.noreply.github.com>
1 parent aa8f691 commit 1869d15

File tree

7 files changed

+10
-14
lines changed

7 files changed

+10
-14
lines changed

SnapshotLibrary.sln

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SnapshotIt.DependencyInject
1515
EndProject
1616
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SnapshotIt.DependencyInjection", "src\SnapshotIt.DependencyInjection\SnapshotIt.DependencyInjection.csproj", "{1FACD53B-C538-41D8-8678-E0D86C4BCFB2}"
1717
EndProject
18-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SnapshotIt.DependencyInjection.Benchmarks", "tests\SnapshotIt.DependencyInjection.Benchmarks\SnapshotIt.DependencyInjection.Benchmarks.csproj", "{AEC61E20-6E76-44D5-A30F-D7048EC31AE2}"
19-
EndProject
18+
2019
Global
2120
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2221
Debug|Any CPU = Debug|Any CPU
@@ -39,10 +38,7 @@ Global
3938
{1FACD53B-C538-41D8-8678-E0D86C4BCFB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
4039
{1FACD53B-C538-41D8-8678-E0D86C4BCFB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
4140
{1FACD53B-C538-41D8-8678-E0D86C4BCFB2}.Release|Any CPU.Build.0 = Release|Any CPU
42-
{AEC61E20-6E76-44D5-A30F-D7048EC31AE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
43-
{AEC61E20-6E76-44D5-A30F-D7048EC31AE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
44-
{AEC61E20-6E76-44D5-A30F-D7048EC31AE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
45-
{AEC61E20-6E76-44D5-A30F-D7048EC31AE2}.Release|Any CPU.Build.0 = Release|Any CPU
41+
4642
EndGlobalSection
4743
GlobalSection(SolutionProperties) = preSolution
4844
HideSolutionNode = FALSE
@@ -52,7 +48,7 @@ Global
5248
{6BD3DBA2-2F9A-4013-AD65-72CE36035D59} = {B0FF198B-9C6F-4B77-87DE-AF5D81D0D486}
5349
{7F9EC541-B30F-4601-9649-508E4A0C382E} = {B0FF198B-9C6F-4B77-87DE-AF5D81D0D486}
5450
{1FACD53B-C538-41D8-8678-E0D86C4BCFB2} = {9891F523-3F7C-4EB3-BF06-38078AF2D05A}
55-
{AEC61E20-6E76-44D5-A30F-D7048EC31AE2} = {B0FF198B-9C6F-4B77-87DE-AF5D81D0D486}
51+
5652
EndGlobalSection
5753
GlobalSection(ExtensibilityGlobals) = postSolution
5854
SolutionGuid = {5C844C31-15C2-47F2-B289-6867A7C9C29A}

src/SnapshotIt.DependencyInjection/SnapshotIt.DependencyInjection.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Title>SnapshotIt.DependencyInjection</Title>

src/SnapshotIt/CaptureExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static T Get<T>(this ISnapshot _,Func<T, bool> predicate)
8181
/// <param name="_"></param>
8282
/// <param name="ind"></param>
8383
/// <returns></returns>
84-
public static ValueTask<T> GetAsync<T>(this ISnapshot _,int ind)
84+
public static Task<T> GetAsync<T>(this ISnapshot _,int ind)
8585
{
8686
return CaptureIt<T>.GetAsync(ind);
8787
}
@@ -92,7 +92,7 @@ public static ValueTask<T> GetAsync<T>(this ISnapshot _,int ind)
9292
/// <typeparam name="T"></typeparam>
9393
/// <param name="_"></param>
9494
/// <returns></returns>
95-
public static ValueTask<T[]> GetAllAsync<T>(this ISnapshot _)
95+
public static Task<T[]> GetAllAsync<T>(this ISnapshot _)
9696
{
9797
return CaptureIt<T>.GetAllAsync();
9898
}

src/SnapshotIt/SnapshotIt.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>

tests/SnapshotIt.Benchmarks/SnapshotIt.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

tests/SnapshotIt.DependencyInjection.UnitTests/SnapshotIt.DependencyInjection.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

tests/SnapshotIt.UnitTests/SnapshotIt.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

0 commit comments

Comments
 (0)