Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

WPF project error

$
0
0

SharpDevelop Version : 4.3.3.9663-463ee024
.NET Version         : 4.0.30319.296
OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture      : Invariant Language (Invariant Country) ()
Current UI language  : zh
Working Set Memory   : 255884kb
GC Heap Memory       : 110706kb
Unhandled WPF exception
Exception thrown:
System.InvalidOperationException: Cannot Undo while transaction is running
   at ICSharpCode.WpfDesign.Designer.Services.UndoService.Undo()
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Undo()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass6.<AddCommandHandler>b__4(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
   at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
16:35:11.093 [26] DEBUG - Received command BuildDone
16:35:11.093 [26] INFO - Finished building wpftest, success=True
16:35:11.093 [26] INFO - Start building wpftest
16:35:11.093 [19] INFO - Finished building wpftest, success=True
16:35:11.093 [1] INFO - Debugger Command: Start (withDebugger=False)
16:35:11.921 [13] DEBUG - Removing part d:\我的文档\SharpDevelop Projects\wpftest\wpftest\Window1.xaml from compound class wpftest.Window1
16:35:11.921 [13] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
16:35:11.921 [13] DEBUG - Adding existing class Window1 from Window1.xaml
16:35:11.921 [13] DEBUG - Creating compound for wpftest.Window1
16:35:11.921 [1] DEBUG - ParseInformationUpdated d:\我的文档\SharpDevelop Projects\wpftest\wpftest\Window1.xaml new!=null:True
16:35:13.406 [8] DEBUG - Removing part d:\我的文档\SharpDevelop Projects\wpftest\wpftest\Window1.xaml from compound class wpftest.Window1
16:35:13.406 [8] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
16:35:13.406 [8] DEBUG - Adding existing class Window1 from Window1.xaml
16:35:13.406 [8] DEBUG - Creating compound for wpftest.Window1
16:35:13.406 [1] DEBUG - ParseInformationUpdated d:\我的文档\SharpDevelop Projects\wpftest\wpftest\Window1.xaml new!=null:True
16:35:14.906 [14] DEBUG - Removing part d:\我的文档\SharpDevelop Projects\wpftest\wpftest\Window1.xaml from compound class wpftest.Window1
16:35:14.906 [14] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
16:35:14.906 [14] DEBUG - Adding existing class Window1 from Window1.xaml
16:35:14.906 [14] DEBUG - Creating compound for wpftest.Window1
16:35:14.906 [1] DEBUG - ParseInformationUpdated d:\我的文档\SharpDevelop Projects\wpftest\wpftest\Window1.xaml new!=null:True
16:35:16.406 [5] DEBUG - Removing part d:\我的文档\SharpDevelop Projects\wpftest\wpftest\Window1.xaml from compound class wpftest.Window1
16:35:16.406 [5] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
16:35:16.406 [5] DEBUG - Adding existing class Window1 from Window1.xaml
16:35:16.406 [5] DEBUG - Creating compound for wpftest.Window1
16:35:16.406 [1] DEBUG - ParseInformationUpdated d:\我的文档\SharpDevelop Projects\wpftest\wpftest\Window1.xaml new!=null:True
---- Post-error application state information:
Installed 3rd party AddIns: 
Workbench.ActiveContent: ICSharpCode.WpfDesign.AddIn.WpfViewContent
ProjectService.OpenSolution: [Solution: FileName=d:\我的文档\SharpDevelop Projects\wpftest\wpftest.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: wpftest]

Viewing all articles
Browse latest Browse all 1764

Trending Articles