Ah, ok, you actually configured a local repository…
That said, I’m super confused by this whole issue because, as I’m looking into this, i’m seeing that content from NuGet packages was not being handled at all. But after I fixed that, the path already is being preserved correctly.
So whatever you are seeing must be something totally unrelated — which a complete test case might have helped show.
In either case, tomorrow’s build will (a) support
NuGetReferences with HintPath to a local
.nuget file (which was not supported before) and (b) support copy-locating the
content folder from a NuGet package, preserving it’s folder structure:
Final Output for 'NuGetContent':
Echoes.dll (/Users/mh/Test Projects/NuGetContent/Bin/Debug/Echoes.dll)
Echoes.dll.mdb (/Users/mh/Test Projects/NuGetContent/Bin/Debug/Echoes.dll.mdb)
Echoes.pdb (/Users/mh/Test Projects/NuGetContent/Bin/Debug/Echoes.pdb)
ElementsLib.dll (/Users/mh/Test Projects/NuGetContent/Bin/Debug/x64/ElementsLib.dll)
ElementsLib.dll (/Users/mh/Test Projects/NuGetContent/Bin/Debug/x86/ElementsLib.dll)
NuGetContent.exe (/Users/mh/Test Projects/NuGetContent/Bin/Debug/NuGetContent.exe)
NuGetContent.exe.mdb (/Users/mh/Test Projects/NuGetContent/Bin/Debug/NuGetContent.exe.mdb)