Skip to content

Commit 83e084d

Browse files
committed
Update packages.
1 parent 5d2bf27 commit 83e084d

File tree

8 files changed

+19
-17
lines changed

8 files changed

+19
-17
lines changed

src/Berrysoft.Tsinghua.Net/Berrysoft.Tsinghua.Net.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="System.Json" Version="4.5.0" />
15+
<PackageReference Include="System.Json" Version="4.6.0-preview3.19128.7" />
1616
</ItemGroup>
1717

18-
<ItemGroup>
19-
<Reference Include="System.Net.Http" Condition="'$(TargetFramework)'=='net48'" />
18+
<ItemGroup Condition="'$(TargetFramework)'=='net48'">
19+
<Reference Include="System.Net.Http" />
2020
</ItemGroup>
2121

2222
</Project>

src/Berrysoft.Unsafe/Berrysoft.Unsafe.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.2" />
15+
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.6.0-preview3.19128.7" />
16+
</ItemGroup>
17+
18+
<ItemGroup Condition="'$(TargetFramework)'=='net48'">
19+
<PackageReference Include="System.Memory" Version="4.5.2" />
1620
</ItemGroup>
1721

1822
</Project>

src/Berrysoft.Unsafe/UnsafeMethods.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public static void StackAlloc<T>(int size, Action<Pointer<T>> action)
8181
byte* ptr = stackalloc byte[size * SizeOf<T>()];
8282
action(new Pointer<T>(ptr));
8383
}
84-
#if NETCOREAPP || NETSTANDARD
8584
/// <summary>
8685
/// Get a <see cref="Span{T}"/> of a <see cref="Pointer{T}"/>.
8786
/// </summary>
@@ -100,7 +99,6 @@ public static void StackAlloc<T>(int size, Action<Pointer<T>> action)
10099
/// <returns>A <see cref="ReadOnlySpan{T}"/> of a <see cref="Pointer{T}"/>.</returns>
101100
[MethodImpl(MethodImplOptions.AggressiveInlining)]
102101
public static ReadOnlySpan<T> AsReadOnlySpan<T>(this Pointer<T> ptr, int size) => new ReadOnlySpan<T>(ptr.Ptr, size);
103-
#endif
104102
/// <summary>
105103
/// Initializes a block of memory at the given location with a given initial value.
106104
/// </summary>

target.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
<PropertyGroup>
99
<LangVersion>latest</LangVersion>
10-
<AssemblyVersion>1.1.208.0</AssemblyVersion>
11-
<FileVersion>1.1.208.0</FileVersion>
10+
<AssemblyVersion>1.1.211.0</AssemblyVersion>
11+
<FileVersion>1.1.211.0</FileVersion>
1212
<OutputPath>..\..\bin\$(Configuration)</OutputPath>
1313
</PropertyGroup>
1414

1515
<PropertyGroup>
16-
<Version>1.1.208-preview3</Version>
16+
<Version>1.1.211-preview4</Version>
1717
<Authors>Berrysoft</Authors>
1818
<Copyright>Copyright (c) 2018 Berrysoft</Copyright>
1919
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>

tests/Berrysoft.Console.Test/Berrysoft.Console.Test.vbproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
12-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
13-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
12+
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-beta4" />
13+
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-beta4" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

tests/Berrysoft.Data.Test/Berrysoft.Data.Test.vbproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
12-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
13-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
12+
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-beta4" />
13+
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-beta4" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

tests/Berrysoft.Unsafe.Test/Berrysoft.Unsafe.Test.vbproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
12-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
13-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
12+
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-beta4" />
13+
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-beta4" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

tests/Berrysoft.Workflow.Test/Berrysoft.Workflow.Test.vbproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
12-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
13-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
12+
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-beta4" />
13+
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-beta4" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

0 commit comments

Comments
 (0)