Skip to content

Commit

Permalink
Update packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Apr 12, 2019
1 parent 5d2bf27 commit 83e084d
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 17 deletions.
6 changes: 3 additions & 3 deletions src/Berrysoft.Tsinghua.Net/Berrysoft.Tsinghua.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Json" Version="4.5.0" />
<PackageReference Include="System.Json" Version="4.6.0-preview3.19128.7" />
</ItemGroup>

<ItemGroup>
<Reference Include="System.Net.Http" Condition="'$(TargetFramework)'=='net48'" />
<ItemGroup Condition="'$(TargetFramework)'=='net48'">
<Reference Include="System.Net.Http" />
</ItemGroup>

</Project>
6 changes: 5 additions & 1 deletion src/Berrysoft.Unsafe/Berrysoft.Unsafe.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.2" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.6.0-preview3.19128.7" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net48'">
<PackageReference Include="System.Memory" Version="4.5.2" />
</ItemGroup>

</Project>
2 changes: 0 additions & 2 deletions src/Berrysoft.Unsafe/UnsafeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public static void StackAlloc<T>(int size, Action<Pointer<T>> action)
byte* ptr = stackalloc byte[size * SizeOf<T>()];
action(new Pointer<T>(ptr));
}
#if NETCOREAPP || NETSTANDARD
/// <summary>
/// Get a <see cref="Span{T}"/> of a <see cref="Pointer{T}"/>.
/// </summary>
Expand All @@ -100,7 +99,6 @@ public static void StackAlloc<T>(int size, Action<Pointer<T>> action)
/// <returns>A <see cref="ReadOnlySpan{T}"/> of a <see cref="Pointer{T}"/>.</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ReadOnlySpan<T> AsReadOnlySpan<T>(this Pointer<T> ptr, int size) => new ReadOnlySpan<T>(ptr.Ptr, size);
#endif
/// <summary>
/// Initializes a block of memory at the given location with a given initial value.
/// </summary>
Expand Down
6 changes: 3 additions & 3 deletions target.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

<PropertyGroup>
<LangVersion>latest</LangVersion>
<AssemblyVersion>1.1.208.0</AssemblyVersion>
<FileVersion>1.1.208.0</FileVersion>
<AssemblyVersion>1.1.211.0</AssemblyVersion>
<FileVersion>1.1.211.0</FileVersion>
<OutputPath>..\..\bin\$(Configuration)</OutputPath>
</PropertyGroup>

<PropertyGroup>
<Version>1.1.208-preview3</Version>
<Version>1.1.211-preview4</Version>
<Authors>Berrysoft</Authors>
<Copyright>Copyright (c) 2018 Berrysoft</Copyright>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
Expand Down
4 changes: 2 additions & 2 deletions tests/Berrysoft.Console.Test/Berrysoft.Console.Test.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-beta4" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-beta4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions tests/Berrysoft.Data.Test/Berrysoft.Data.Test.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-beta4" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-beta4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions tests/Berrysoft.Unsafe.Test/Berrysoft.Unsafe.Test.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-beta4" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-beta4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions tests/Berrysoft.Workflow.Test/Berrysoft.Workflow.Test.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-beta4" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-beta4" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 83e084d

Please sign in to comment.