workaround, of course, is to just add the indirect reference directly to the main project…
I have a lot of indirect references in diferents projects.
Other workarround is use xcopy in Post-Build Event but it does not work. https://talk.remobjects.com/t/cant-add-a-post-build-event/17318
Hmm, looking back at this, I don’t see who this COULOD work. You reference ClassLibraryDirect
as a plain .dll reference, not a project reference. So the build chain knows nothing about its dependent .dlls at that point. All it sees is the one .dll, so thats all that gets copy-located.
With a Project Reference* to ClassLibraryDirect
, this would work, not with a plain reference. The only workaround I see it either (a) adding the indirect dlls as direct references or (b) using project references?
<Reference Include="ClassLibraryDirect">
<HintPath>ClassLibraryDirect\Bin\Debug\ClassLibraryDirect.dll</HintPath>
<Private>True</Private>
</Reference>
^^ there’s no way the build chain can know about or find ClassLibraryInxirect.dll
from this info.
bugs://80911 got closed with status testcaseerr.
What does status testcaseerr mean?
It means that there was no actual bug to fix.