I got this error report on compling aWPF program.
Thanks,
David Hyde
SharpDevelop Version : 5.0.0.4526-Beta 5-f2568c1f
.NET Version : 4.0.30319.18444
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Invariant Language (Invariant Country) ()
Current UI language : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 403560kb
GC Heap Memory : 175335kb
Unhandled WPF exception
Exception thrown:
System.ArgumentOutOfRangeException: Value must be between 1 and 13
Parameter name: line
Actual value was 0.
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(Int32 line, Int32 column)
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(TextLocation location)
at ICSharpCode.XamlBinding.XamlAstResolver.ResolveAtLocation(TextLocation location, CancellationToken cancellationToken)
at ICSharpCode.XamlBinding.XamlParser.Resolve(ParseInformation parseInfo, TextLocation location, ICompilation compilation, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserService.Resolve(FileName fileName, TextLocation location, ITextSource fileContent, ICompilation compilation, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserService.Resolve(ITextEditor editor, TextLocation location, ICompilation compilation, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.HandleToolTipRequest(ToolTipRequestEventArgs e)
at ICSharpCode.SharpDevelop.Debugging.DebuggerTextAreaToolTipProvider.HandleToolTipRequest(ToolTipRequestEventArgs e)
at ICSharpCode.SharpDevelop.Editor.ToolTipRequestService.RequestToolTip(ToolTipRequestEventArgs e)
at ICSharpCode.AvalonEdit.AddIn.CodeEditorView.TextEditorMouseHover(Object sender, MouseEventArgs e)
at System.Windows.Input.MouseEventArgs.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.RaiseEvent(RoutedEventArgs e)
at ICSharpCode.AvalonEdit.Rendering.TextView.RaiseHoverEventPair(MouseEventArgs e, RoutedEvent tunnelingEvent, RoutedEvent bubblingEvent)
at ICSharpCode.AvalonEdit.Rendering.TextView.<.ctor>b__0(Object sender, MouseEventArgs e)
at ICSharpCode.AvalonEdit.Rendering.MouseHoverLogic.OnMouseHover(MouseEventArgs e)
at ICSharpCode.AvalonEdit.Rendering.MouseHoverLogic.OnMouseHoverTimerElapsed(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
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:02:07.506 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:02:07.506 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:06:58.036 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:06:58.036 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:07:23.658 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:07:23.658 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:07:23.658 [1] DEBUG - ParseInformationUpdated C:\Users\David Hyde\Documents\SharpDevelop Projects\AddressBook\AddressBook\Window1.xaml (updated)
16:07:28.720 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ToolsPad
16:07:30.450 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:07:30.450 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:07:30.460 [1] DEBUG - ActiveContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
16:08:31.746 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ToolsPad
16:08:32.816 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:08:32.816 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:08:32.816 [1] DEBUG - ActiveContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
16:08:46.239 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:08:46.239 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:11:23.007 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:11:23.007 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:11:30.101 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:11:30.101 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.WpfDesign.Designer.resources, Version=5.0.0.4526, Culture=en, PublicKeyToken=f829da5c02be14ee
16:11:49.809 [1] DEBUG - NavigationService
ActiveViewContent: Window1.xaml
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
16:11:49.809 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Users\David Hyde\Documents\SharpDevelop Projects\AddressBook\AddressBook\Window1.xaml]
16:11:49.839 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Users\David Hyde\Documents\SharpDevelop Projects\AddressBook\AddressBook\Window1.xaml]
16:11:52.899 [1] ERROR - Unhandled WPF exception
--> Exception:
System.ArgumentOutOfRangeException: Value must be between 1 and 13
Parameter name: line
Actual value was 0.
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(Int32 line, Int32 column)
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(TextLocation location)
at ICSharpCode.XamlBinding.XamlAstResolver.ResolveAtLocation(TextLocation location, CancellationToken cancellationToken)
at ICSharpCode.XamlBinding.XamlParser.Resolve(ParseInformation parseInfo, TextLocation location, ICompilation compilation, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserService.Resolve(FileName fileName, TextLocation location, ITextSource fileContent, ICompilation compilation, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserService.Resolve(ITextEditor editor, TextLocation location, ICompilation compilation, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.HandleToolTipRequest(ToolTipRequestEventArgs e)
at ICSharpCode.SharpDevelop.Debugging.DebuggerTextAreaToolTipProvider.HandleToolTipRequest(ToolTipRequestEventArgs e)
at ICSharpCode.SharpDevelop.Editor.ToolTipRequestService.RequestToolTip(ToolTipRequestEventArgs e)
at ICSharpCode.AvalonEdit.AddIn.CodeEditorView.TextEditorMouseHover(Object sender, MouseEventArgs e)
at System.Windows.Input.MouseEventArgs.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.RaiseEvent(RoutedEventArgs e)
at ICSharpCode.AvalonEdit.Rendering.TextView.RaiseHoverEventPair(MouseEventArgs e, RoutedEvent tunnelingEvent, RoutedEvent bubblingEvent)
at ICSharpCode.AvalonEdit.Rendering.TextView.<.ctor>b__0(Object sender, MouseEventArgs e)
at ICSharpCode.AvalonEdit.Rendering.MouseHoverLogic.OnMouseHover(MouseEventArgs e)
at ICSharpCode.AvalonEdit.Rendering.MouseHoverLogic.OnMouseHoverTimerElapsed(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
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)
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution C:\Users\David Hyde\Documents\SharpDevelop Projects\AddressBook\AddressBook.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: AddressBook]
Workbench.ActiveContent: [AvalonEditViewContent C:\Users\David Hyde\Documents\SharpDevelop Projects\AddressBook\AddressBook\Window1.xaml]