I am receiving the following error:

                C:\Program
Files\MSBuild\Microsoft\WiX\v3.5\Wix2010.targets(1770,5): error MSB4018:
The "RefreshGeneratedFile" task failed unexpectedly.

 

Running Wix 3.5.1930 just downloaded and installed last week.

 

I see a thread back in February where this happened (Subject: Harvest
feature in WiX v3.5's Votive), but it seemed to fix itself with
reinstalling Wix.

 

My case is slightly different. Following steps:

1.       Install Wix 3.5

2.       Open solution in VS2010 forcing conversion of WiX 3.0 projects
to 3.5

3.       Change "Harvest" property on all references in all 5 WiX
projects to "false" (existing code - auto harvest breaks things)

4.       Build the solution and project fails with above error.

5.       In one project, change "Harvest" to true for one of the its
project references.

6.       Build of project works and entire solution now builds.

7.       Change "Harvest" property back to false

8.       Build of entire solution still works

9.       Check changes in and run build on build machine. It fails on
the build machine.

10.   Change "Harvest" back to "True" and check it in. (Project Output
Groups = None)

11.   Solution builds

12.   Change "Harvest" to "False". Check it in.

13.   Solution fails again.

 

For some reason, for this one project, the auto harvest feature insists
on harvesting something, anything. I really do not want anything
harvested as all of the file references are already captured explicitly
and use unchanging component GUID's. (Same component in different builds
maintains the same GUID.)

 

And the other 4 WiX projects in the build all work fine even with all
project references set with Harvest=False. 

 

Should I enter a bug?

Tony Bjerstedt

Software Engineer

Hollander, a Solera Company

14800 28th Ave N., Suite 190

Plymouth, MN 55447

Direct: (763)519-3235

Email: tony.bjerst...@audatex.com <mailto:tony.bjerst...@audatex.com> 

www.hollandersolutions.com <http://www.hollandersolutions.com/> 


- ---------------------------------------------------------------------------

 

PRIVILEGE AND CONFIDENTIALITY NOTICE
The information in this electronic mail (and any associated attachments) is 
intended for the named recipient(s) only and may contain privileged and 
confidential information. If you have received this message in error, you are 
hereby notified that any use, disclosure, copying or alteration of this message 
is strictly prohibited.  If you are not the intended recipient(s), please 
contact the sender by reply email and destroy all copies of the original 
message.  Thank you.

 


 --------------------------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to