Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions build/nuget/Win2D.uwp-cswinrt.targets
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
<WindowsMetadataReference Include="$(Win2DWinMDPath)" Implementation="$(Win2DWinMDImplementationDllName)" />
</ItemGroup>

<!--
In case Win2D is used in the projected API of another component,
the .winmd should be included as an input so that the types can be discovered
(but that component should not include the Microsoft.Graphics.Canvas namespace in its CsWinRTIncludes property)
-->
<ItemGroup>
<CsWinRTInputs Include="$(Win2DWinMDPath)"/>
</ItemGroup>

<!--
Emit a warning if building as 'AnyCPU', which is not supported. Note that we are emitting this warning but
we are not copying the .dll ourselves. NuGet will do that automatically when projects are published.
Expand Down