Skip to content

Commit b95fda7

Browse files
worldbeaterglennawatson
authored andcommitted
fix: .NET Native Support (#1937)
1 parent 3a4a474 commit b95fda7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
2+
<Library Name="ReactiveUI">
3+
<Assembly Name="ReactiveUI" Activate="Required All" Browse="Required All" Serialize="Required All" Dynamic="Required All" />
4+
<!-- See https://github.com/reactiveui/ReactiveUI/issues/1330 -->
5+
<Namespace Name="Windows.UI.Xaml.Controls" Dynamic="Required All" />
6+
<Namespace Name="Windows.UI.Xaml" Dynamic="Required All" />
7+
</Library>
8+
</Directives>

src/ReactiveUI/ReactiveUI.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
<Compile Include="Platforms\uap10.0.16299\**\*.cs" />
3939
</ItemGroup>
4040

41+
<ItemGroup Label="Package" Condition=" $(TargetFramework.StartsWith('uap')) ">
42+
<None Include="Platforms\uap10.0.16299\ReactiveUI.rd.xml" PackagePath="lib\uap10.0.16299\ReactiveUI\Properties\ReactiveUI.rd.xml" Pack="true" />
43+
</ItemGroup>
44+
4145
<ItemGroup Condition=" $(TargetFramework.StartsWith('Xamarin.iOS')) ">
4246
<Compile Include="Platforms\apple-common\**\*.cs" />
4347
<Compile Include="Platforms\ios\**\*.cs" />

0 commit comments

Comments
 (0)