Bugs item #1350404, was opened at 2005-11-07 10:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1350404&group_id=105970
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: votive
Group: v2.0
Status: Open
Resolution: None
Priority: 5
Submitted By: shirata (shirata)
Assigned to: Justin Rockwood (justinrockwood)
Summary: Deleting Wix Reference deletes the underlining Wixlib file
Initial Comment:
Bug:
When one right clicks on the Wixlib reference file and
choose the "Delete" option, the option remove the wixlib
reference and *delete* the underlining wixlib file. One
will now have to repair the installation in order to add the
wixlib reference again. The proper option should
be "Remove". "Open" and "Open With" option also
does not seem to be a valid option.
Fix:
WixLibraryFileHierarchyNode in
WixLibraryFileHierarchyNode.cs needs the following
methods overwritten:
public override CommandStatus
QueryStandard97CommandStatus(VsCommand
command)
{
CommandStatus
status = CommandStatus.Unhandled;
switch (command)
{
case
VsCommand.Remove:
status =
CommandStatus.SupportedAndEnabled;
break;
case
VsCommand.Delete:
case
VsCommand.Open:
case
VsCommand.OpenWith:
status =
CommandStatus.NotSupportedOrEnabled;
break;
default:
status =
base.QueryStandard97CommandStatus(command);
break;
}
return status;
}
public override bool
ExecuteStandard97Command(VsCommand command)
{
bool supported = true;
switch (command)
{
case
VsCommand.Delete:
case
VsCommand.Remove:
this.RemoveFromProject();
break;
default:
supported =
base.ExecuteStandard97Command(command);
break;
}
return supported;
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1350404&group_id=105970
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs