Bugs item #1277228, was opened at 2005-08-31 02:50
Message generated for change (Settings changed) made by justinrockwood
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1277228&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: Pending
Resolution: None
Priority: 5
Submitted By: Kim Gräsman (kimgrasman)
Assigned to: Justin Rockwood (justinrockwood)
Summary: Rename causes assertion failure
Initial Comment:
Hello,
Found a minor issue with the Votive add-in for VS.NET
2003.
Steps to reproduce:
1) Create a new WiX Project
2) Open the main Product.wxs file
3) Slow-double-click to rename the wxs file
4) Name it something else (say, Assert.wxs) and hit
Enter to commit the change
5) Now, click around in the project tree a little, and an
assertion failure pops up:
---------------------------
Assertion Failed: Abort=Quit, Retry=Debug,
Ignore=Continue
---------------------------
Cannot find node 4 in our hierarchy!
at Tracer.Assert(Boolean condition, String message,
Object[] args)
at Hierarchy.GetNode(UInt32 itemId, Boolean
throwOnNotFound)
at Hierarchy.get_SelectedNode()
at
Hierarchy.Microsoft.VisualStudio.Shell.Interop.IVsUIHiera
rchy.QueryStatusCommand(UInt32 itemid, Guid&
pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds,
IntPtr pCmdText)
at
Hierarchy.Microsoft.VisualStudio.OLE.Interop.IOleComm
andTarget.QueryStatus(Guid& pguidCmdGroup, UInt32
cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at SafeNativeMethods.MessageBox(HandleRef
hWnd, String text, String caption, Int32 type)
at AssertWrapper.ShowMessageBoxAssert(String
stackTrace, String message, String detailMessage)
at DefaultTraceListener.Fail(String message, String
detailMessage)
at TraceInternal.Fail(String message, String
detailMessage)
at Trace.Fail(String message)
at Tracer.Assert(Boolean condition, String message,
Object[] args)
at Hierarchy.GetNode(UInt32 itemId, Boolean
throwOnNotFound)
at Hierarchy.get_SelectedNode()
at
Hierarchy.Microsoft.VisualStudio.Shell.Interop.IVsUIHiera
rchy.QueryStatusCommand(UInt32 itemid, Guid&
pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds,
IntPtr pCmdText)
at
Hierarchy.Microsoft.VisualStudio.OLE.Interop.IOleComm
andTarget.QueryStatus(Guid& pguidCmdGroup, UInt32
cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
---------------------------
Abort Retry Ignore
---------------------------
So it seems there's some state in the project hierarchy
that doesn't follow the rename properly.
Hope that repros.
Cheers,
- Kim
----------------------------------------------------------------------
Comment By: Kim Gräsman (kimgrasman)
Date: 2005-08-31 02:51
Message:
Logged In: YES
user_id=551308
By the way, forgot to mention: this is build 2.0.3116.0!
- Kim
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1277228&group_id=105970
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs