File build/MyNugetPackage.targets
is injected into the MSBuild project that references this nuget package.
Here is an example to copy *.dll files and reference them.
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<NativeLibs Include="$(MSBuildThisFileDirectory)**\*.dll" />
<None Include="@(NativeLibs)">