Wix v4 convert fails with File elements with only an Id attribute #8148
Labels
up for grabs
No one volunteered to fix the issue. If you are interested, comment with "I want to fix this issue"
wixcop
WiX Version
5.0.0
.NET or MSBuild or Visual Studio Version
VS 2022
HeatWave Version
1.0.4.5
Windows Version
Win11 23H2
Repro Repo
No response
Repro Steps
Component
with aFile
with an@Id
attribute only:Actual Result
The component has not been converted, it is the same as before conversion:
But the compiler spits out an error:
error WIX0010: The File/@Name attribute was not found; it is required.
Expected Result
Either: like in v3, the
@Name
attribute is not required and defaults to value of@Id
:Or, if that v3 rule will never be valid anymore: the wix convert process should add an
@Name
attribute and remove@Id
.Acknowledgements
The text was updated successfully, but these errors were encountered: