Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to harvest files with the same name but different extension #6178

Closed
paulomorgado opened this issue May 25, 2020 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@paulomorgado
Copy link

When I try to harvest the MyProgram.exe and MyProgram.pdb files, I get an error that looks something like this:

candle.exe : error CNDL0351: Multiple source files ('obj\Debug_MyProgram_file.wxs', 'obj\Debug_MyProgram_file.wxs') have resulted in the same output file '...\obj\Debug_MyProgram_file.wixobj'. This is likely because the source files only differ in extension or path. Rename the source files to avoid this problem. [...\PracticesChecker.Setup.wixproj]

  • Which version of WiX are you building with?

3.11.2.4516

  • Which version of Visual Studio are you building with (if any)?

Visual Studio Enterprise 2019 16.6.0

  • Which version of the WiX Toolset Visual Studio Extension are you building with (if any)?

1.0.0.4

@barnson
Copy link
Member

barnson commented May 27, 2020

Separate instances of HarvestFile for files with the same base name and different extensions should work. Globbing won't work without more work on the heat.exe side.

@barnson barnson closed this as completed May 27, 2020
@barnson barnson reopened this May 27, 2020
@paulomorgado
Copy link
Author

heat.exe should just take a list of paths. If it's a file, it's a file harvest; if it's a directory, it's directory haverst.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

4 participants