You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have an existing Wix 3 project with following code: ... <ComponentRef Id="_MsgPack_dll_e3be" /> ... <Component Guid="6a2255db-b511-48a4-8550-e7422112b31a" Permanent="no" SharedDllRefCount="no" Transitive="no" Directory="TARGETDIR"> <File Id="_MsgPack_dll_e3be" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="MsgPack.dll" Source="MsgPack.dll" KeyPath="yes" /> </Component>
Convert existing Wix 3 project to Wix 4
Actual Result
Getting following compilation error: Error WIX0094 The identifier 'Component:_MsgPack_dll_e3be' is inaccessible due to its protection level.
Expected Result
The Id of the File should be used and available as component ID as described in the documentation: Id (String) : Component identifier; this is the primary key for identifying components. If omitted, the compiler defaults the identifier to the identifier of the resource that is the explicit keypath of the component (for example, a child File element with KeyPath attribute with value 'yes').
Acknowledgements
I acknowledge that this is a fully completed bug report. It is not a question or attempt to get help debugging my issue (because those should be sent to Discussions).
The text was updated successfully, but these errors were encountered:
WiX Version
4.0.3
.NET or MSBuild or Visual Studio Version
VS Version 17.8.3
HeatWave Version
1.0.2.1
Windows Version
Windows 10 22H2
Repro Repo
No response
Repro Steps
...
<ComponentRef Id="_MsgPack_dll_e3be" />
...
<Component Guid="6a2255db-b511-48a4-8550-e7422112b31a" Permanent="no" SharedDllRefCount="no" Transitive="no" Directory="TARGETDIR">
<File Id="_MsgPack_dll_e3be" DiskId="1" Hidden="no" ReadOnly="no" TrueType="no" System="no" Vital="yes" Name="MsgPack.dll" Source="MsgPack.dll" KeyPath="yes" />
</Component>
Actual Result
Getting following compilation error:
Error WIX0094 The identifier 'Component:_MsgPack_dll_e3be' is inaccessible due to its protection level.
Expected Result
The Id of the File should be used and available as component ID as described in the documentation:
Id (String) : Component identifier; this is the primary key for identifying components. If omitted, the compiler defaults the identifier to the identifier of the resource that is the explicit keypath of the component (for example, a child File element with KeyPath attribute with value 'yes').
Acknowledgements
The text was updated successfully, but these errors were encountered: