NuGet imports .targets files at the end and .props files at the top. We use a .props file to do the redirect at the top of the file since that works with existing templates.