<ContentWithTargetPath Include="libsome_file.dat"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <TargetPath>some_file.dat</TargetPath> </ContentWithTargetPath>