Skip to content

Conversation

@firesgc
Copy link
Contributor

@firesgc firesgc commented Oct 24, 2025

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.

@jspelletier
Copy link
Collaborator

Could you modify one of the samples to use this case ?

@martinecker-ATVI
Copy link

Does Vcxproj.cs in its GenerateFilesSection function need a similar change for generator consistency?

@jspelletier
Copy link
Collaborator

Does Vcxproj.cs in its GenerateFilesSection function 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.

@firesgc
Copy link
Contributor Author

firesgc commented Oct 24, 2025

Does Vcxproj.cs in its GenerateFilesSection function 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants