Skip to content

Commit 691f507

Browse files
committed
Allow PackageRefs in ref projects
1 parent 2109805 commit 691f507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/targets/ResolveReferences.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
</ItemGroup>
213213

214214
<Error
215-
Condition="'$(DisablePackageReferenceRestrictions)' != 'true' AND @(_ExplicitPackageReference->Count()) != 0"
215+
Condition="'$(IsReferenceAssemblyProject)' != 'true' AND '$(DisablePackageReferenceRestrictions)' != 'true' AND @(_ExplicitPackageReference->Count()) != 0"
216216
Text="PackageReference items are not allowed. Use &lt;Reference&gt; instead to replace the reference to @(_ExplicitPackageReference, ', '). See docs/ReferenceResolution.md for more details." />
217217

218218
<Warning

0 commit comments

Comments
 (0)