NU5100 (AssemblyOutsideLibWarning): Why build is allowed but buildTransitive is not? #14080
Labels
Functionality:Pack
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Type:DCR
Design Change Request
The rule
MisplaceAssemblyOutsideLibRule
allows assemblies inbuild
directory, but doesn't allow them inbuildTransitive
. Shouldn't the warning be present for bothbuild
andbuildTransitive
? AFAIK, there is no special treatment for dlls in eitherbuild
orbuildTransitive
.But for both cases, there is a possibility of false positives for cases where the package author is doing something very custom and including the dll as
Reference
viaprops
ortargets
.The text was updated successfully, but these errors were encountered: