NuGet Error NU1402

NU1402: The package 'PackageId.1.0.0' contains an entry '../../foo.dll' which is unsafe for extraction.

Issue

The package contains a file that is unsafe for extraction.

Solution

This package is unsafe to be used. Contact the package owner to have the package fixed.