Skip to content

Commit 09c7ecc

Browse files
committed
Add PackageReferences to custom-generated ref assemblies
1 parent 1a78f83 commit 09c7ecc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/targets/ReferenceAssembly.targets

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@
105105
<_ReferenceAssemblyItems
106106
Include="@(FilteredOriginalReferences->'&lt;Reference Include=&quot;%(Identity)&quot; /&gt;')"
107107
Condition=" '@(FilteredOriginalReferences)' != '' " />
108+
<_ReferenceAssemblyItems
109+
Include="@(_ExplicitPackageReference->'&lt;PackageReference Include=&quot;%(Identity)&quot; Version=&quot;%(Version)&quot; /&gt;')"
110+
Condition=" '@(_ExplicitPackageReference)' != '' " />
108111
<!-- Some src/ projects use Arcade SDK feature to generate InternalsVisibleTo attributes. -->
109112
<_ReferenceAssemblyItems
110113
Include="@(InternalsVisibleTo->'&lt;InternalsVisibleTo Include=&quot;%(Identity)&quot; Key=&quot;%(Key)&quot; /&gt;')"

0 commit comments

Comments
 (0)