Skip to content

Commit 7415419

Browse files
committed
Enable UAP drop for release build and NuGet. #206
This solves following .NET Native related issue: * This build does not contain P/Invoke. * This build does not contain System.Reflection.Emit.
1 parent bf67b3b commit 7415419

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ Release 0.9.0 beta2 2017/2/11
626626
* Users of serializer code generator API can suppress [DebuggerNonUserCode] attribute to enable debugger step in.
627627
* SerializerRepository API now expose ContainsFor and GetRegisteredSerializers methods to investigate registered serializers.
628628
* SerializationContext.DisablePrivilegedAccess for restricted environment like Silverlight to select between granting permission or relinquish non-public access.
629+
* UWP build is now included.
629630

630631
BUG FIXES
631632
* The generated code for the type which has Tuple typed member uses old PackHelper API.
@@ -638,3 +639,4 @@ Release 0.9.0 beta2 2017/2/11
638639
* Fix built-in collection serializers such as List<T> serializer causes SecurityException when the program run in restricted environment like Silverlight. Issue #205.
639640
* Fix null items of complex type in List<T> or Dictionary<TKey, TValue> will not be deserialized as null. Issue #211. (from 0.8.1)
640641
* Fix types which implement IPackable and IUnpackable but do not have any members cannot be serialized. Issue #202
642+
* Fix Windows Native build error. Issue #206.

MsgPack.nuspec

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,35 @@ This package provides MessagePack serialization/deserialization APIs. This pacak
7676
<dependency id="System.Text.RegularExpressions" version="4.1.0" />
7777
<dependency id="System.Threading" version="4.0.11" />
7878
</group>
79+
<group targetFramework="Universal Windows Platform">
80+
<dependency id="System.Collections" version="4.0.11" />
81+
<dependency id="System.Collections.Concurrent" version="4.0.12" />
82+
<dependency id="System.Collections.NonGeneric" version="4.0.1" />
83+
<dependency id="System.Collections.Specialized" version="4.0.1" />
84+
<dependency id="System.Data.Common" version="4.1.0" />
85+
<dependency id="System.Diagnostics.Contracts" version="4.0.1" />
86+
<dependency id="System.Diagnostics.Debug" version="4.0.11" />
87+
<dependency id="System.Diagnostics.Tools" version="4.0.1" />
88+
<dependency id="System.Globalization" version="4.0.11" />
89+
<dependency id="System.IO" version="4.1.0" />
90+
<dependency id="System.Linq" version="4.1.0" />
91+
<dependency id="System.Linq.Expressions" version="4.1.0" />
92+
<dependency id="System.Numerics.Vectors" version="4.1.1" />
93+
<dependency id="System.ObjectModel" version="4.0.12" />
94+
<dependency id="System.Reflection" version="4.1.0" />
95+
<dependency id="System.Reflection.Extensions" version="4.0.1" />
96+
<dependency id="System.Reflection.Primitives" version="4.0.1" />
97+
<dependency id="System.Resources.ResourceManager" version="4.0.1" />
98+
<dependency id="System.Runtime" version="4.1.0" />
99+
<dependency id="System.Runtime.Extensions" version="4.1.0" />
100+
<dependency id="System.Runtime.InteropServices" version="4.1.0" />
101+
<dependency id="System.Runtime.Numerics" version="4.0.1" />
102+
<dependency id="System.Runtime.Serialization.Primitives" version="4.1.1" />
103+
<dependency id="System.Text.Encoding" version="4.0.11" />
104+
<dependency id="System.Text.Encoding.Extensions" version="4.0.11" />
105+
<dependency id="System.Text.RegularExpressions" version="4.1.0" />
106+
<dependency id="System.Threading" version="4.0.11" />
107+
</group>
79108
</dependencies>
80109
</metadata>
81110
<files>

src/MsgPack.Uwp/MsgPack.Uwp.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131
<PlatformTarget>AnyCPU</PlatformTarget>
3232
<DebugType>pdbonly</DebugType>
3333
<Optimize>true</Optimize>
34-
<OutputPath>bin\Release\</OutputPath>
34+
<OutputPath>..\..\bin\uap10\</OutputPath>
3535
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP;AOT;NETSTANDARD1_3;FEATURE_TAP;FEATURE_CONCURRENT</DefineConstants>
3636
<ErrorReport>prompt</ErrorReport>
3737
<WarningLevel>4</WarningLevel>
38+
<DocumentationFile>..\..\bin\uap10\MsgPack.XML</DocumentationFile>
3839
</PropertyGroup>
3940
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
4041
<PlatformTarget>x86</PlatformTarget>

0 commit comments

Comments
 (0)