Hi Dave, thanks for that sample. Sadly I can't get it to work. I've tried
hundreds of combinations of <files> and <contentFiles> elements with
different paths and names and slashes, I've created different contentFiles
folder structures, I've set files as build Content and None. Mostly I get
no content files in the package, and if I set sources files to build
Content then they go into the package but are installed deep inside useless
folder structures without the CopyIfNewer that I desire.

The config files in your sample, what is their action in the source
project, None or Content?

I just want to deliver a single native DLL file into the root of the target
project and set it to action None and CopyIfNewer.

So I'm up to 6 or 7 hours now and haven't even got anything even vaguely
hopeful to happen. I have studied the content files
<https://docs.microsoft.com/en-us/nuget/reference/nuspec#including-content-files>
section of the nuspec documentation, but I think it was written by an alien
or mentally ill person (or both), and it needs a complete rewrite. Even the
samples are nonsensical.

*Greg K*

Reply via email to