Bugs item #1350404, was opened at 2005-11-07 07:30
Message generated for change (Settings changed) made by justinrockwood
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: Closed
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs