This commit is contained in:
neuecc 2017-05-06 22:20:32 +09:00
Родитель 971417f34e
Коммит 832963afd8
15 изменённых файлов: 166 добавлений и 180 удалений

Просмотреть файл

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
VisualStudioVersion = 15.0.26228.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{86309CF6-0054-4CE3-BFD3-CA0AA7DB17BC}"
EndProject

Просмотреть файл

@ -12,7 +12,7 @@ Install
---
The library provides in NuGet except for Unity.
Standard library for .NET Standard 1.4(.NET Framework(4.6.1), UWP(10.0), .NET Core, Xamarin).
Standard library for .NET Framework 4.5 and .NET Standard 1.4(UWP(10.0), .NET Core, Xamarin).
```
Install-Package MessagePack

Просмотреть файл

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MessagePack.AspNetCoreMvcFormatter</id>
<version>1.2.1</version>
<version>1.2.2</version>
<title>ASP.NET Core MVC Input/Output MessagePack formatter</title>
<authors>neuecc</authors>
<owners>neuecc</owners>
@ -11,30 +11,14 @@
<description>ASP.NET Core MVC Input/Output MessagePack formatter.</description>
<releaseNotes>update dependency.</releaseNotes>
<tags>MsgPack, MessagePack, Serialization, Formatter, Serializer, aspnetcore, aspnetcoremvc</tags>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.5" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.5" />
</frameworkAssemblies>
<dependencies>
<group targetFramework=".NETFramework4.7">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="Microsoft.AspNetCore.Mvc.Abstractions" version="1.2.0" />
</group>
<group targetFramework=".NETFramework4.6.1">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="Microsoft.AspNetCore.Mvc.Abstractions" version="1.2.0" />
</group>
<group targetFramework=".NETStandard1.4">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="MessagePack" version="1.2.2" />
<dependency id="Microsoft.AspNetCore.Mvc.Abstractions" version="1.2.0" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\src\MessagePack.AspNetCoreMvcFormatter\bin\Release\netstandard1.4\MessagePack.AspNetCoreMvcFormatter.dll" target="lib\net47" />
<file src="..\src\MessagePack.AspNetCoreMvcFormatter\bin\Release\netstandard1.4\MessagePack.AspNetCoreMvcFormatter.xml" target="lib\net47" />
<file src="..\src\MessagePack.AspNetCoreMvcFormatter\bin\Release\netstandard1.4\MessagePack.AspNetCoreMvcFormatter.dll" target="lib\net461" />
<file src="..\src\MessagePack.AspNetCoreMvcFormatter\bin\Release\netstandard1.4\MessagePack.AspNetCoreMvcFormatter.xml" target="lib\net461" />
<file src="..\src\MessagePack.AspNetCoreMvcFormatter\bin\Release\netstandard1.4\MessagePack.AspNetCoreMvcFormatter.dll" target="lib\netstandard1.4" />
<file src="..\src\MessagePack.AspNetCoreMvcFormatter\bin\Release\netstandard1.4\MessagePack.AspNetCoreMvcFormatter.xml" target="lib\netstandard1.4" />
</files>

Просмотреть файл

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MessagePack.ImmutableCollection</id>
<version>1.2.1</version>
<version>1.2.2</version>
<title>MessagePack for C# Extension Support for ImmutableCollection</title>
<authors>neuecc</authors>
<owners>neuecc</owners>
@ -17,24 +17,24 @@
</frameworkAssemblies>
<dependencies>
<group targetFramework=".NETFramework4.7">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="MessagePack" version="1.2.2" />
<dependency id="System.Collections.Immutable" version="1.3.1" />
</group>
<group targetFramework=".NETFramework4.6.1">
<dependency id="MessagePack" version="1.2.1" />
<group targetFramework=".NETFramework4.5">
<dependency id="MessagePack" version="1.2.2" />
<dependency id="System.Collections.Immutable" version="1.3.1" />
</group>
<group targetFramework=".NETStandard1.4">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="MessagePack" version="1.2.2" />
<dependency id="System.Collections.Immutable" version="1.3.1" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\netstandard1.4\MessagePack.ImmutableCollection.dll" target="lib\net47" />
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\net47\MessagePack.ImmutableCollection.dll" target="lib\net47" />
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\netstandard1.4\MessagePack.ImmutableCollection.xml" target="lib\net47" />
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\netstandard1.4\MessagePack.ImmutableCollection.dll" target="lib\net461" />
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\netstandard1.4\MessagePack.ImmutableCollection.xml" target="lib\net461" />
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\net45\MessagePack.ImmutableCollection.dll" target="lib\net45" />
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\netstandard1.4\MessagePack.ImmutableCollection.xml" target="lib\net45" />
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\netstandard1.4\MessagePack.ImmutableCollection.dll" target="lib\netstandard1.4" />
<file src="..\src\MessagePack.ImmutableCollection\bin\Release\netstandard1.4\MessagePack.ImmutableCollection.xml" target="lib\netstandard1.4" />
</files>

Просмотреть файл

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MessagePack.ReactiveProperty</id>
<version>1.2.1</version>
<version>1.2.2</version>
<title>MessagePack for C# Extension Support for ReactiveProperty</title>
<authors>neuecc</authors>
<owners>neuecc</owners>
@ -17,24 +17,24 @@
</frameworkAssemblies>
<dependencies>
<group targetFramework=".NETFramework4.7">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="MessagePack" version="1.2.2" />
<dependency id="ReactiveProperty" version="3.5.1" />
</group>
<group targetFramework=".NETFramework4.6.1">
<dependency id="MessagePack" version="1.2.1" />
<group targetFramework=".NETFramework4.5">
<dependency id="MessagePack" version="1.2.2" />
<dependency id="ReactiveProperty" version="3.5.1" />
</group>
<group targetFramework=".NETStandard1.4">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="MessagePack" version="1.2.2" />
<dependency id="ReactiveProperty" version="3.5.1" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\netstandard1.4\MessagePack.ReactiveProperty.dll" target="lib\net47" />
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\net45\MessagePack.ReactiveProperty.dll" target="lib\net45" />
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\netstandard1.4\MessagePack.ReactiveProperty.xml" target="lib\net45" />
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\net47\MessagePack.ReactiveProperty.dll" target="lib\net47" />
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\netstandard1.4\MessagePack.ReactiveProperty.xml" target="lib\net47" />
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\netstandard1.4\MessagePack.ReactiveProperty.dll" target="lib\net461" />
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\netstandard1.4\MessagePack.ReactiveProperty.xml" target="lib\net461" />
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\netstandard1.4\MessagePack.ReactiveProperty.dll" target="lib\netstandard1.4" />
<file src="..\src\MessagePack.ReactiveProperty\bin\Release\netstandard1.4\MessagePack.ReactiveProperty.xml" target="lib\netstandard1.4" />
</files>

Просмотреть файл

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MessagePack.UnityShims</id>
<version>1.2.1</version>
<version>1.2.2</version>
<title>MessagePack for C# Extension Support for Unity(add pseudo Vector type and fast Vectory[] extension formatter)</title>
<authors>neuecc</authors>
<owners>neuecc</owners>
@ -17,21 +17,21 @@
</frameworkAssemblies>
<dependencies>
<group targetFramework=".NETFramework4.7">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="MessagePack" version="1.2.2" />
</group>
<group targetFramework=".NETFramework4.6.1">
<dependency id="MessagePack" version="1.2.1" />
<group targetFramework=".NETFramework4.5">
<dependency id="MessagePack" version="1.2.2" />
</group>
<group targetFramework=".NETStandard1.4">
<dependency id="MessagePack" version="1.2.1" />
<dependency id="MessagePack" version="1.2.2" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\src\MessagePack.UnityShims\bin\Release\netstandard1.4\MessagePack.UnityShims.dll" target="lib\net47" />
<file src="..\src\MessagePack.UnityShims\bin\Release\net45\MessagePack.UnityShims.dll" target="lib\net45" />
<file src="..\src\MessagePack.UnityShims\bin\Release\netstandard1.4\MessagePack.UnityShims.xml" target="lib\net45" />
<file src="..\src\MessagePack.UnityShims\bin\Release\net47\MessagePack.UnityShims.dll" target="lib\net47" />
<file src="..\src\MessagePack.UnityShims\bin\Release\netstandard1.4\MessagePack.UnityShims.xml" target="lib\net47" />
<file src="..\src\MessagePack.UnityShims\bin\Release\netstandard1.4\MessagePack.UnityShims.dll" target="lib\net461" />
<file src="..\src\MessagePack.UnityShims\bin\Release\netstandard1.4\MessagePack.UnityShims.xml" target="lib\net461" />
<file src="..\src\MessagePack.UnityShims\bin\Release\netstandard1.4\MessagePack.UnityShims.dll" target="lib\netstandard1.4" />
<file src="..\src\MessagePack.UnityShims\bin\Release\netstandard1.4\MessagePack.UnityShims.xml" target="lib\netstandard1.4" />
</files>

Просмотреть файл

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MessagePack</id>
<version>1.2.1</version>
<version>1.2.2</version>
<title>MessagePack for C#</title>
<authors>neuecc</authors>
<owners>neuecc</owners>
@ -19,7 +19,7 @@
<group targetFramework=".NETFramework4.7">
<dependency id="System.Threading.Tasks.Extensions" version="4.3.0" />
</group>
<group targetFramework=".NETFramework4.6.1">
<group targetFramework=".NETFramework4.5">
<dependency id="System.ValueTuple" version="4.3.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.3.0" />
</group>
@ -33,10 +33,10 @@
</dependencies>
</metadata>
<files>
<file src="..\src\MessagePack\bin\Release\netstandard1.4\MessagePack.dll" target="lib\net47" />
<file src="..\src\MessagePack\bin\Release\net45\MessagePack.dll" target="lib\net45" />
<file src="..\src\MessagePack\bin\Release\netstandard1.4\MessagePack.xml" target="lib\net45" />
<file src="..\src\MessagePack\bin\Release\net47\MessagePack.dll" target="lib\net47" />
<file src="..\src\MessagePack\bin\Release\netstandard1.4\MessagePack.xml" target="lib\net47" />
<file src="..\src\MessagePack\bin\Release\netstandard1.4\MessagePack.dll" target="lib\net461" />
<file src="..\src\MessagePack\bin\Release\netstandard1.4\MessagePack.xml" target="lib\net461" />
<file src="..\src\MessagePack\bin\Release\netstandard1.4\MessagePack.dll" target="lib\netstandard1.4" />
<file src="..\src\MessagePack\bin\Release\netstandard1.4\MessagePack.xml" target="lib\netstandard1.4" />
<file src="tools\*" target="tools" />

Просмотреть файл

@ -1,6 +1,6 @@
nuget push MessagePack.1.2.1.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.ImmutableCollection.1.2.1.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.ReactiveProperty.1.2.1.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.UnityShims.1.2.1.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.AspNetCoreMvcFormatter.1.2.1.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.1.2.2.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.ImmutableCollection.1.2.2.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.ReactiveProperty.1.2.2.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.UnityShims.1.2.2.nupkg -Source https://www.nuget.org/api/v2/package
nuget push MessagePack.AspNetCoreMvcFormatter.1.2.2.nupkg -Source https://www.nuget.org/api/v2/package
REM nuget push MessagePackAnalyzer.1.6.0.nupkg -Source https://www.nuget.org/api/v2/package

Просмотреть файл

@ -1,19 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard1.4;</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.AspNetCoreMvcFormatter.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.AspNetCoreMvcFormatter.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="1.1.2" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="1.1.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,20 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard1.4;net45;net47</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.ImmutableCollection.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.ImmutableCollection.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="1.3.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="1.3.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,21 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard1.4;net45;net47</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.ReactiveProperty.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.ReactiveProperty.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ReactiveProperty" Version="3.5.1" />
<PackageReference Include="System.Reactive.PlatformServices" Version="3.1.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ReactiveProperty" Version="3.5.1" />
<PackageReference Include="System.Reactive.PlatformServices" Version="3.1.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,24 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
<RootNamespace>MessagePack.Unity</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard1.4;net45;net47</TargetFrameworks>
<RootNamespace>MessagePack.Unity</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.UnityShims.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
<DefineConstants>TRACE;RELEASE;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.UnityShims.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
<DefineConstants>TRACE;RELEASE;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK;</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK;</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MessagePack\MessagePack.csproj" />
</ItemGroup>
</Project>

Просмотреть файл

@ -489,6 +489,7 @@ namespace MessagePack.Formatters
public class TaskUnitFormatter : IMessagePackFormatter<Task>
{
public static readonly IMessagePackFormatter<Task> Instance = new TaskUnitFormatter();
static readonly Task CompletedTask = Task.FromResult<object>(null);
TaskUnitFormatter()
{
@ -517,7 +518,7 @@ namespace MessagePack.Formatters
else
{
readSize = 1;
return Task.CompletedTask;
return CompletedTask;
}
}
}

Просмотреть файл

@ -1,80 +1,81 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard1.4;net45;net47</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK;</DefineConstants>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<LangVersion>4</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU' AND '$(TargetFramework)' != 'net45'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK;</DefineConstants>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<LangVersion>4</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
<DefineConstants>TRACE;RELEASE;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK;</DefineConstants>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<LangVersion>4</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU' AND '$(TargetFramework)' != 'net45'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
<DefineConstants>TRACE;RELEASE;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK;</DefineConstants>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<LangVersion>4</LangVersion>
</PropertyGroup>
<ItemGroup>
<None Remove="*.meta" />
<None Remove="Resolvers\*.meta" />
<None Remove="Internal\*.meta" />
<None Remove="Formatters\*.meta" />
<None Remove="LZ4\Codec\*.meta" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU' AND '$(TargetFramework)' == 'net45'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK;NET45;</DefineConstants>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<LangVersion>4</LangVersion>
</PropertyGroup>
<ItemGroup>
<None Include="LZ4\Codec\LZ4Codec.Safe.cs" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU' AND '$(TargetFramework)' == 'net45'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DocumentationFile>bin\Release\netstandard1.4\MessagePack.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
<DefineConstants>TRACE;RELEASE;NETSTANDARD1_4;ENABLE_UNSAFE_MSGPACK;NET45;</DefineConstants>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<LangVersion>4</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Reflection.Emit" Version="4.3.0" />
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.3.0" />
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.3.0" />
<PackageReference Include="System.ValueTuple" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<None Remove="*.meta" />
<None Remove="Resolvers\*.meta" />
<None Remove="Internal\*.meta" />
<None Remove="Formatters\*.meta" />
<None Remove="LZ4\Codec\*.meta" />
</ItemGroup>
<ItemGroup>
<None Update="Formatters\PrimitiveFormatter.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>PrimitiveFormatter.cs</LastGenOutput>
</None>
<None Update="Formatters\TupleFormatter.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>TupleFormatter.cs</LastGenOutput>
</None>
<None Update="Formatters\ValueTupleFormatter.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>ValueTupleFormatter.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<None Include="LZ4\Codec\LZ4Codec.Safe.cs" />
</ItemGroup>
<ItemGroup>
<Compile Update="Formatters\PrimitiveFormatter.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>PrimitiveFormatter.tt</DependentUpon>
</Compile>
<Compile Update="Formatters\TupleFormatter.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>TupleFormatter.tt</DependentUpon>
</Compile>
<Compile Update="Formatters\ValueTupleFormatter.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>ValueTupleFormatter.tt</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.4' ">
<PackageReference Include="System.Reflection.Emit" Version="4.3.0" />
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.3.0" />
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.3.0" />
<PackageReference Include="System.ValueTuple" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' OR '$(TargetFramework)' == 'net47' ">
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Microsoft.CSharp" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.3.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PackageReference Include="System.ValueTuple" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<None Update="Formatters\PrimitiveFormatter.tt">
<Generator>TextTemplatingFileGenerator</Generator>
</None>
<None Update="Formatters\TupleFormatter.tt">
<Generator>TextTemplatingFileGenerator</Generator>
</None>
<None Update="Formatters\ValueTupleFormatter.tt">
<Generator>TextTemplatingFileGenerator</Generator>
</None>
</ItemGroup>
</Project>

Просмотреть файл

@ -143,7 +143,7 @@ namespace MessagePack
if (resolver == null) resolver = DefaultResolver;
var formatter = resolver.GetFormatterWithVerify<T>();
#if NETSTANDARD1_4
#if NETSTANDARD1_4 && !NET45
var ms = stream as MemoryStream;
if (ms != null)