Open GoogleCodeExporter opened 8 years ago
above issued caused by 'UAC'
I create an unit test in VSTS.It can be run by 'Gallio'. But 'Code UI' cann't.
following is 'Code UI' exception.
System.Exception: Identifier is not unique
at Gallio.Icarus.WindowManager.WindowManager.Add(String identifier, Control content, String caption, Icon icon)
at Gallio.Icarus.WindowManager.WindowManager.Add(String identifier, Control content, String caption)
at Gallio.Icarus.Packages.CodeViewerPackage.CreateWindow(CodeLocation codeLocation, String identifier, String caption)
at Gallio.Icarus.Packages.CodeViewerPackage.<>c__DisplayClass5.<AddWindow>b__4()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
Reported by:
UnhandledExceptionPolicy
at Gallio.Icarus.IcarusProgram.<UnhandledErrorPolicy>b__5(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Gallio.UI.ErrorReporting.ErrorDialogUnhandledExceptionHandler.RunApplicationWithHandler(Form mainForm)
at Gallio.Icarus.IcarusProgram.RunImpl(String[] args)
at Gallio.Runtime.ConsoleSupport.ConsoleProgram`1.Run(IRichConsole console, String[] args) in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Runtime\ConsoleSupport\ConsoleProgram.cs:line 198
at Gallio.Icarus.IcarusProgram.Main(String[] args)
Original comment by gyhanonl...@gmail.com
on 9 Oct 2010 at 2:57
I assume it is not possible to load a CodedUI test dll from VS2010 into Gallio?
Original comment by rob.lang...@googlemail.com
on 25 Mar 2011 at 4:43
Original issue reported on code.google.com by
gyhanonl...@gmail.com
on 9 Oct 2010 at 2:25Attachments: