Fix: DLL dependencies not copied to target folder
My DLL project depends on another project that copies DLLs to the target folder. For example:
conf.TargetCopyFilesToSubDirectory.Add(new KeyValuePair<string, string>(@"[project.SharpmakeCsPath]/bin/x64/D3D12Core.*", "D3D12"));)
Currently, the copy dependencies of DLL projects are ignored. This change fixes that issue so that dependent DLLs are correctly copied to the target folder.
Could you modify one of the samples to use this case ?
Does Vcxproj.cs in its GenerateFilesSection function need a similar change for generator consistency?
Does
Vcxproj.csin itsGenerateFilesSectionfunction need a similar change for generator consistency?
ideally as well yes if this applies. In general we try to have the same behavior for msbuild + fastbuild.
Does
Vcxproj.csin itsGenerateFilesSectionfunction need a similar change for generator consistency?ideally as well yes if this applies. In general we try to have the same behavior for msbuild + fastbuild.
I’ve added the fix to msbuild too. I’ll see later if I find an example to copy or improve on, but I’m not sure when I’ll have time.