1

Closed

Remove unnecessary Component ids

description

In NTVS, we removed a lot of Component Id attributes that weren't needed, but this wasn't done in PTVS.

When a Component isn't referenced anywhere, and it has a child File element with a KeyPath, then the Component Id is not necessary.

Not to be confused with Component Guid, which we need to keep.
Closed Jun 24 at 5:49 PM by Zooba
This was fixed with other installer changes.

comments

Zooba wrote Feb 15 at 2:05 PM

The IDs are never necessary except for cross references within Wix files.

The GUID is optional if there is a file with key path, but because we set the install directory in a property we can't actually autogenerate them anyway.