Skip to content

Commit 5fb2430

Browse files
authored
Merge pull request #268 from msgpack/work/stabilize
Stabilize build
2 parents 57276b0 + 0fb90c1 commit 5fb2430

File tree

128 files changed

+1127
-1064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+1127
-1064
lines changed

CHANGES.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ Release 1.0.0-beta1 2017-10-01
724724
* Fix UAP build drop does not exists in nupkg. #186
725725
* Fix new unpacker cannot unpack reserved ext types.
726726

727-
Relase 1.0.0-beta2 (T.B.D.)
727+
Relase 1.0.0-beta2 2017-10-29
728728

729729
CHANGES
730730
* Xamarin builds are now integrated to .NET Standard 2.0.
@@ -734,3 +734,5 @@ Relase 1.0.0-beta2 (T.B.D.)
734734

735735
IMPROVEMENTS
736736
* System.Tuple<T> detection now ignores their declaring assemblies.
737+
* Improve exception message in AOT error of Unity.
738+
* .NET Standard 1.1/1.3 projects now do not depend on System.Linq.Expressions package.

MsgPack.Common.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
<PropertyGroup Condition="'$(TargetFramework)' == 'MonoAndroid10' or '$(TargetFramework)' == 'Xamarin.iOS10'">
4040
<SignAssembly>false</SignAssembly>
4141
</PropertyGroup>
42-
<PropertyGroup>
42+
<PropertyGroup Condition="'$(OutputPath)' == '' and '$(TargetFramework)' == ''">
43+
<DocumentationFile>$(AssemblyName).XML</DocumentationFile>
44+
</PropertyGroup>
45+
<PropertyGroup Condition="'$(OutputPath)' != '' or '$(TargetFramework)' != ''">
4346
<DocumentationFile>$(OutputPath)\$(TargetFramework)\$(AssemblyName).XML</DocumentationFile>
4447
</PropertyGroup>
4548
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">

src/MsgPack.Silverlight.5/MsgPack.Silverlight.5.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,6 @@
227227
<Compile Include="..\MsgPack\ReflectionAbstractions.cs">
228228
<Link>ReflectionAbstractions.cs</Link>
229229
</Compile>
230-
<Compile Include="..\MsgPack\Serialization\FromExpression.cs">
231-
<Link>Serialization\FromExpression.cs</Link>
232-
</Compile>
233-
<Compile Include="..\MsgPack\Serialization\FromExpression.ToMethod.cs">
234-
<Link>Serialization\FromExpression.ToMethod.cs</Link>
235-
</Compile>
236230
<Compile Include="..\MsgPack\Serialization\Metadata\_MessagePackSerializer.cs">
237231
<Link>Serialization\Metadata\_MessagePackSerializer.cs</Link>
238232
</Compile>

src/MsgPack.Unity.Full/CorLibOnlyHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#region -- License Terms --
1+
#region -- License Terms --
22
//
33
// MessagePack for CLI
44
//

src/MsgPack.Unity.Full/MsgPack.Unity.Full.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515
<Import Project="..\..\MsgPack.Common.props" />
1616
<PropertyGroup>
17-
<DefineConstants>$(DefineConstants);UNITY_IPHONE;MSGPACK_UNITY_FULL;AOT</DefineConstants>
17+
<DefineConstants>$(DefineConstants);FEATURE_MPCONTRACT;UNITY_IPHONE;MSGPACK_UNITY_FULL;AOT</DefineConstants>
1818
<SignAssembly>false</SignAssembly>
1919
</PropertyGroup>
2020
<PropertyGroup Condition=" '$(Configuration)' == 'Release'">

src/MsgPack.Unity/MsgPack.Unity.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515
<Import Project="..\..\MsgPack.Common.props" />
1616
<PropertyGroup>
17-
<DefineConstants>$(DefineConstants);UNITY_IPHONE;AOT</DefineConstants>
17+
<DefineConstants>$(DefineConstants);FEATURE_MPCONTRACT;UNITY_IPHONE;AOT</DefineConstants>
1818
<SignAssembly>false</SignAssembly>
1919
</PropertyGroup>
2020
<PropertyGroup Condition=" '$(Configuration)' == 'Release'">

src/MsgPack/BigEndianBinary.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#region -- License Terms --
1+
#region -- License Terms --
22
//
33
// MessagePack for CLI
44
//
@@ -23,11 +23,11 @@
2323
#endif
2424

2525
using System;
26-
#if CORE_CLR || UNITY || NETSTANDARD1_1
26+
#if FEATURE_MPCONTRACT
2727
using Contract = MsgPack.MPContract;
2828
#else
2929
using System.Diagnostics.Contracts;
30-
#endif // CORE_CLR || UNITY || NETSTANDARD1_1
30+
#endif // FEATURE_MPCONTRACT
3131

3232
namespace MsgPack
3333
{

src/MsgPack/CollectionOperation.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#region -- License Terms --
1+
#region -- License Terms --
22
//
33
// MessagePack for CLI
44
//
@@ -24,11 +24,11 @@
2424

2525
using System;
2626
using System.Collections.Generic;
27-
#if CORE_CLR || UNITY || NETSTANDARD1_1
27+
#if FEATURE_MPCONTRACT
2828
using Contract = MsgPack.MPContract;
2929
#else
3030
using System.Diagnostics.Contracts;
31-
#endif // CORE_CLR || UNITY || NETSTANDARD1_1
31+
#endif // FEATURE_MPCONTRACT
3232
using System.Linq;
3333

3434
namespace MsgPack

src/MsgPack/EncodingExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#region -- License Terms --
1+
#region -- License Terms --
22
//
33
// MessagePack for CLI
44
//
@@ -22,10 +22,10 @@
2222
#define UNITY
2323
#endif
2424

25-
#if CORE_CLR || UNITY || NETSTANDARD1_1
25+
#if MPCONTRACT
2626
using Contract = MsgPack.MPContract;
2727
#else
28-
#endif // CORE_CLR || UNITY || NETSTANDARD1_1
28+
#endif // MPCONTRACT
2929
using System.Text;
3030
#if FEATURE_TAP
3131
#endif // FEATURE_TAP

src/MsgPack/Float32Bits.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#region -- License Terms --
1+
#region -- License Terms --
22
//
33
// MessagePack for CLI
44
//
@@ -23,11 +23,11 @@
2323
#endif
2424

2525
using System;
26-
#if CORE_CLR || UNITY || NETSTANDARD1_1
26+
#if FEATURE_MPCONTRACT
2727
using Contract = MsgPack.MPContract;
2828
#else
2929
using System.Diagnostics.Contracts;
30-
#endif // CORE_CLR || UNITY || NETSTANDARD1_1
30+
#endif // FEATURE_MPCONTRACT
3131
using System.Runtime.InteropServices;
3232

3333
namespace MsgPack

0 commit comments

Comments
 (0)