It seems like the file is not being imported even thought it exists.

Does the project file itself contain the <Import> element for this file (i.e. one that was added by NuGet)?