Skip to content

Commit

Permalink
Pack project PRI next to WinMD (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
j0shuams authored May 9, 2022
1 parent fac893d commit 7d8e45c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nuget/Microsoft.Windows.CsWinRT.Authoring.targets
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,12 @@ Copyright (C) Microsoft Corporation. All rights reserved.
<PackagePath>lib\$(TargetFramework)</PackagePath>
</Content>

<!-- Pack any XAML resource PRI files next to the .winmd -->
<Content Include="$(ProjectPriFullPath)">
<Pack>true</Pack>
<PackagePath>lib\$(TargetFramework)\winmd</PackagePath>
</Content>

<!-- Pack the WinMD we generated in its own folder, under the managed TFM folder -->
<Content Include="$(TargetDir)$(AssemblyName).winmd">
<Pack>true</Pack>
Expand Down

0 comments on commit 7d8e45c

Please sign in to comment.