-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Corrected issue with WixHeat HarvestType Out parameter #1055
Comments
@robertmuehsig It looks like its converting the |
@robertmuehsig to test @RLittlesII theory you could try changing |
@robertmuehsig did you see @devlead comment above? Are you in a position to test this? |
Woops - sorry - I found a workaround. Will try to look at it this week. |
@robertmuehsig that would be great, thank you! Would you also be able to document the workaround? Also, do you think that this is still an issue? Or can this be closed? |
The workaround is not cake related (and not very elegant). I "solved" it with a nasty pre build event and invoke heat.exe from there. |
@RLittlesII did you get anywhere when you were looking into this? |
@gep13 been sick. I'll dig into root cause as soon as I am able. |
@RLittlesII no worries get well soon! |
Not a problem, hope you feel better soon! |
@gep13 I am able to reproduce this issue. @robertmuehsig can you confirm that this resolves your issue? |
Even when I change "var" to "DirectoryPath" I get the same error message. I even do the MakeAbsolute(filePath).FullPath dance, but it seems the second parameter will not pop up as -out parameter.
|
|
Nope - same error. |
I'll take a deeper look into this and see if I can provide an effective solution. |
@devlead What I have noticed is, if I use @gep13 I reworked the code to have the Alias accept the WiXHarvestType directly. This will fix the first issue. The second issue was a result of the first. Passing in the WiXHarvestType from the alias, I am now allowing heat.exe to determine if it has the correct inputs, rather than cake trying to do that job. Now if the HarvestType doesn't match the input type heat will throw the exception itself. |
Sounds good to me! |
What You Are Seeing?
HarvestType issue
When I use the WixHeat sample:
failing default heatSettings
When I use "default" HeatSettings:
It will fail with:
What is Expected?
For the HarvestType issue: "Correct" binding?
And the given "resultfile" should appear as a -out / -o parameter for heat.exe. I can do a workaround via the ArgumentCustomization, but this will "break" when someone fixes the root cause.
What version of Cake are you using?
0.14.0
Are you running on a 32 or 64 bit system?
64bit
What environment are you running on? Windows? Linux? Mac?
Windows
Are you running on a CI Server? If so, which one?
No
How Did You Get This To Happen? (Steps to Reproduce)
Output Log
(see above)
The text was updated successfully, but these errors were encountered: