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

Changing the width of the Caret

$
0
0

Hello,

 

Is there a way to change the width of the caret without modifying AvalonEdit Source Code?

 

Thanks for your help,

 


Building project WinFormsUI is not supported.

$
0
0

Hi.

AS the title says, I have a project that was developed by another and passed my way. It was developed in SharpDevelop but I'm guessing that the layout was done in Visual Studio. I get the following message when trying to build the project in SharpDevelop:

Building project WinFormsUI is not supported.

It wouldn't be anything to do with it was developed on a 32 bit system and I'm on a 64 bit one. Though I'm not entirely sure whether it was 32 or 64 bit development

Can anybody help me fix this please?

Thanks

VB6 language support added

$
0
0

I would love to see the VB6 language added to #Dev. MS will not do it to Visual Studio so the only other place I can think of going would be here. There are some commercial alternatives to VB6 based on BASIC but they are lacking in many, many areas.

Requirements

  1. Load VB6 project\group\bas\cls\etc.. files
  2. Offer the same compile options as the current VB6 IDE
  3.     - Possibly extend these compile options to generate native x86 code
  4. Compile to the PCode or "Native" VB6 run-time code
  5. Use the great IDE features (refactor, winforms editor, etc...) currently in #Dev
  6. Support adding toolbox COM controls
  7.  [I assume harder to do, thus low pri] Read existing ADD-INs from VB6 into #Dev

To make this effort easier, I would require (I would assume reengineering the whole VB6 language from scratch is a huge undertaking) that the original VB6 IDE be installed on the machine so that #Dev can leverage all command line utilities it uses for compiling.

What benefit could this bring to #Dev?
If you could do this, (currently any .NET work I do is in VS as I get free copies) you would be doing a HUGE service for the VB6 community. Not only that, if they all had replacement (I still keep a few VB6 projects active) for the IDE that was better then the legacy IDE, they would all migrate over to #Dev. This also would increase the possibility of them using #Dev for other .NET based projects since they have it all in one single IDE. This would increase your user base.

What benefit to VB6 users would this bring?
Well we would all get a maintained feature rich IDE. A single location to work on both VB6 and .NET based projects. And the possibility of having a VB6++ language eventually that added more OOP features and direct memory management to the normal VB6 language while retaining support for VB6- language.

Thanks for the time, I appreciate it!
-Steve De George JR

Note:
You could be adding 10,000 or more users to your user base: http://classicvb.org/petition/

vb6?

$
0
0

Hi,

This is probably quite a silly question, but does SharpDevelop support vb 6? I realise that it supports vb.net, but I'm currently trying to add to a project written in vb6 and haven't the expence to change all of the code to vb.net as I'm only wanting to make a few minor changes.

I'm assuming the SharpDevelop doesn't support vb6, so in that case do you know of any free/opensource software will will enable me to edit a vb6 project?

 

Thanks 

Designing multiple Forms in a single C# project?

$
0
0

Hi :)

I was recently working on a lot of complicated things and thought I'm losing track on the simple tasks of C# and thus wanted to code a simple tool gathering Hardware and Software information of the host system and displays it on seperate windows.

I first did this in a console application using the System.Management namespace and all worked out. Now I wanted to make it in a Windows Forms application to make it easier to use (just click the button of your choice) and to make it look more "professional".

Now I have the main form which contains the code and which I can use the designer with to design it. The buttons I've included contain code to open new forms (and display the gathered information), but these forms are empty.

 

Can I somehow change the "focus" of the designer to edit Form 2 (called CPUForm in this case) instead, or is it not possible on an easy level?

 

Thanks in advance! :) 

In the test suite subtests - Implement the multiple datasets capability from UI selection

$
0
0

All the testcases in the test suites are presently following a single datareference or referencing a single datasource.I would suggest implementing multiple datasources references across the testccases. I did not find appealing to write a usercode to retrieve individual local variables ( creating standalone dataset ).

 

I would imagine testcases capabilities to have multiple datasources.

Problems with Panel toolkit in WPf

$
0
0

The following message appears an awful lot using the Panel toolkit in WPF:-

Regards,

David Hyde

SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version         : 4.5.51209
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   : 310624kb
GC Heap Memory       : 86508kb

Unhandled WPF exception
Exception thrown:
System.InvalidOperationException: PlacementOperation is committed.
   at ICSharpCode.WpfDesign.PlacementOperation.Abort()
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.Xaml.XamlEditOperations.Cut(ICollection`1 designItems)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Cut()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.OnExecuteRoutedCommand(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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:
12:52:56.167 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ToolsPad
12:53:03.306 [1] ERROR -
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components)
   at ICSharpCode.WpfDesign.Designer.Services.CreateComponentTool.AddItemWithCustomSize(DesignItem container, DesignItem createdItem, Point position, Size size)
   at ICSharpCode.WpfDesign.Designer.Services.CreateComponentTool.AddItemWithDefaultSize(DesignItem container, DesignItem createdItem, Point position)
   at ICSharpCode.WpfDesign.Designer.Services.CreateComponentTool.designPanel_DragOver(Object sender, DragEventArgs e)
12:53:03.311 [1] WARN - Stack trace of last exception log:
   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)
   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)
   at ICSharpCode.WpfDesign.AddIn.WpfViewContent.<>c.<.cctor>b__1_0(Object sender, ThreadExceptionEventArgs e)
   at ICSharpCode.WpfDesign.Designer.DragDropExceptionHandler.RaiseUnhandledException(Exception exception)
   at ICSharpCode.WpfDesign.Designer.Services.CreateComponentTool.designPanel_DragOver(Object sender, DragEventArgs e)
   at System.Windows.DragEventArgs.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 System.Windows.OleDropTarget.RaiseDragEvent(RoutedEvent dragEvent, Int32 dragDropKeyStates, Int32& effects, DependencyObject target, Point targetPoint)
   at System.Windows.OleDropTarget.MS.Win32.UnsafeNativeMethods.IOleDropTarget.OleDragOver(Int32 dragDropKeyStates, Int64 point, Int32& effects)
   at System.Windows.Forms.SafeNativeMethods.DoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[ finalEffect)
   at System.Windows.Forms.Control.DoDragDrop(Object data, DragDropEffects allowedEffects)
   at ICSharpCode.SharpDevelop.Widgets.SideBar.SideBarControl.SideTabContent.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.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 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.Run(IList`1 fileList)
   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)
   at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication()
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run()
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main(String[ args)
12:53:03.494 [1] DEBUG - ActiveContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
12:53:11.991 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.OutlinePad
12:53:32.975 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components)
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Delete()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at ICSharpCode.WpfDesign.AddIn.WpfViewContent.<get_Outline>b__35_0()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
12:53:38.976 [1] ERROR - Unhandled WPF exception
--> Exception:
System.InvalidOperationException: PlacementOperation is committed.
   at ICSharpCode.WpfDesign.PlacementOperation.Abort()
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Delete()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at ICSharpCode.WpfDesign.AddIn.WpfViewContent.<get_Outline>b__35_0()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
12:53:39.211 [1] DEBUG - ParseInformationUpdated C:\Users\David Hyde\Documents\SharpDevelop Projects\tiffa\tiffa\Window1.xaml (updated)
12:53:43.766 [1] DEBUG - ActiveContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
12:53:43.867 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Extensions.RangeSelectionGesture.OnMouseUp(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.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.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)
12:53:53.848 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components)
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Delete()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
12:53:59.709 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.OutlinePad
12:54:02.638 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components)
   at ICSharpCode.WpfDesign.Designer.Extensions.DefaultPlacementBehavior.EndPlacement(PlacementOperation operation)
   at ICSharpCode.WpfDesign.Designer.Extensions.RasterPlacementBehavior.EndPlacement(PlacementOperation operation)
   at ICSharpCode.WpfDesign.Designer.Extensions.SnaplinePlacementBehavior.EndPlacement(PlacementOperation operation)
   at ICSharpCode.WpfDesign.Designer.Extensions.GridPlacementSupport.EndPlacement(PlacementOperation operation)
   at ICSharpCode.WpfDesign.PlacementOperation.Abort()
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Delete()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at ICSharpCode.WpfDesign.AddIn.WpfViewContent.<get_Outline>b__35_0()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
12:54:53.905 [1] DEBUG - ActiveContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
12:55:01.466 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.PointerTool.OnMouseDown(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.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.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)
12:55:13.181 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.OutlinePad
12:55:16.758 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components)
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Delete()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at ICSharpCode.WpfDesign.AddIn.WpfViewContent.<get_Outline>b__35_0()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
12:55:20.807 [1] DEBUG - ActiveContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
12:55:25.110 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.OutlinePad
12:55:40.734 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components)
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Delete()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at ICSharpCode.WpfDesign.AddIn.WpfViewContent.<get_Outline>b__35_0()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
12:56:02.219 [1] DEBUG - ActiveContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
12:56:02.339 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.DragMoveMouseGesture.OnMouseUp(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.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.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)
12:56:09.325 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.OutlinePad
12:56:12.182 [1] ERROR - Unhandled WPF exception
--> Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)
   at System.Resources.ResourceManager.GetStream(String name)
   at ICSharpCode.WpfDesign.Designer.Controls.ZoomControl.GetCursor(String path)
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension.CreateRotateThumb()
   at ICSharpCode.WpfDesign.Designer.Extensions.RotateThumbExtension..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.CreateExtension(Type extensionType, DesignItem extendedItem)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<CreateExtensions>d__12.MoveNext()
   at ICSharpCode.WpfDesign.DesignItem.ApplyUnapplyExtensionServer(ExtensionManager extensionManager, Boolean shouldApply, ExtensionServer server)
   at ICSharpCode.WpfDesign.DesignItem.ReapplyExtensionServer(ExtensionManager extensionManager, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.ReapplyExtensions(IEnumerable`1 items, ExtensionServer server)
   at ICSharpCode.WpfDesign.Extensions.ExtensionManager.<GetExtensionServer>b__17_0(Object sender, DesignItemCollectionEventArgs e)
   at ICSharpCode.WpfDesign.Extensions.DefaultExtensionServer.ReapplyExtensions(ICollection`1 items)
   at ICSharpCode.WpfDesign.Extensions.PrimarySelectionExtensionServer.OnPrimarySelectionChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components, SelectionTypes selectionType)
   at ICSharpCode.WpfDesign.Designer.Services.DefaultSelectionService.SetSelectedComponents(ICollection`1 components)
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Delete()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at ICSharpCode.WpfDesign.AddIn.WpfViewContent.<get_Outline>b__35_0()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
12:56:25.023 [1] ERROR - Unhandled WPF exception
--> Exception:
System.InvalidOperationException: PlacementOperation is committed.
   at ICSharpCode.WpfDesign.PlacementOperation.Abort()
   at ICSharpCode.WpfDesign.Designer.ModelTools.DeleteComponents(ICollection`1 items)
   at ICSharpCode.WpfDesign.Designer.Xaml.XamlEditOperations.Cut(ICollection`1 designItems)
   at ICSharpCode.WpfDesign.Designer.DesignSurface.Cut()
   at ICSharpCode.WpfDesign.Designer.ExtensionMethods.<>c__DisplayClass5_0.<AddCommandHandler>b__1(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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.OnExecuteRoutedCommand(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.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.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
   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.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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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\tiffa\tiffa.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: tiffa]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Gui.OutlinePad

I don't know what happened

$
0
0

SharpDevelop Version : 5.1.0.5134-RC-d5052dc5

.NET Version         : 4.6.00081

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : Chinese (Simplified, PRC) (zh-CN)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 214276kb

GC Heap Memory       : 60643kb

 

Unhandled WPF exception

Exception thrown:

System.ArgumentOutOfRangeException: Value must be between 1 and 49

Parameter name: line

Actual value was 2147483647.

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(Int32 line, Int32 column)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(TextLocation location)

   at ICSharpCode.NRefactory.CSharp.Refactoring.DocumentScript.GetCurrentOffset(TextLocation originalDocumentLocation)

   at ICSharpCode.NRefactory.CSharp.Refactoring.Script.InsertAfter(AstNode node, AstNode newNode)

   at CSharpBinding.Refactoring.CSharpCodeGenerator.InsertEventHandler(ITypeDefinition target, String name, IEvent eventDefinition, Boolean jumpTo, InsertEventHandlerBodyKind bodyKind)

   at CSharpBinding.FormsDesigner.CSharpEventBindingService.InsertEventHandlerInternal(String methodName, IEvent evt)

   at CSharpBinding.FormsDesigner.CSharpEventBindingService.<>c__DisplayClass10_1.<ShowCode>b__0()

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Recent log messages:

21:48:08.872 [1] DEBUG - Forms designer: DesignerLoader loaded, HasSucceeded=True

21:48:08.872 [1] DEBUG - FormsDesigner loaded, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface

21:48:08.879 [1] DEBUG - IDEContainer: Connecting property grid to service provider

21:48:08.935 [1] INFO - Form Designer: END INITIALIZE

21:48:08.936 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface

21:48:08.938 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent

21:48:08.959 [1] DEBUG - ParseInformationUpdated E:\c#\test0\test0\MainForm.cs (updated)

21:48:08.959 [1] DEBUG - ParseInformationUpdated E:\c#\test0\test0\MainForm.cs (updated)

21:48:08.960 [1] DEBUG - ParseInformationUpdated E:\c#\test0\test0\MainForm.Designer.cs (updated)

21:48:09.161 [1] DEBUG - Folding update ignored; parse information is outdated version

21:48:10.128 [1] DEBUG - Forms designer: ComponentChanged: button1 [System.Windows.Forms.Button], Text: button1, Member=Click, OldValue=<null>, NewValue=<null>; Loading=False; Unloading=False

21:48:10.131 [1] DEBUG - Forms designer: ComponentChanged: button1 [System.Windows.Forms.Button], Text: button1, Member=Click, OldValue=<null>, NewValue=Button1Click; Loading=False; Unloading=False

21:48:10.171 [1] DEBUG - NavigationService

ActiveViewContent: MainForm.cs

         Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}

21:48:10.171 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent E:\c#\test0\test0\MainForm.cs]

21:48:10.176 [1] DEBUG - Forms designer: Save E:\c#\test0\test0\MainForm.cs

21:48:10.177 [1] INFO - Merging form changes...

21:48:10.179 [1] DEBUG - ResourceWriter requested for culture: 

21:48:10.257 [1] INFO - DesignerLoader.Write called

21:48:10.316 [1] INFO - Finished merging form changes

21:48:10.320 [1] DEBUG - FormsDesigner view content deactivated, setting ActiveDesignSurface to null

21:48:10.325 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent E:\c#\test0\test0\MainForm.cs]

21:48:10.326 [1] DEBUG - IDEContainer: Disconnecting property grid from service provider

21:48:10.332 [1] DEBUG - ParseInformationUpdated E:\c#\test0\test0\MainForm.Designer.cs (updated)

21:48:10.343 [1] INFO - Open file E:\c#\test0\test0\MainForm.cs

21:48:10.356 [1] ERROR - Unhandled WPF exception

--> Exception:

System.ArgumentOutOfRangeException: Value must be between 1 and 49

Parameter name: line

Actual value was 2147483647.

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(Int32 line, Int32 column)

   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(TextLocation location)

   at ICSharpCode.NRefactory.CSharp.Refactoring.DocumentScript.GetCurrentOffset(TextLocation originalDocumentLocation)

   at ICSharpCode.NRefactory.CSharp.Refactoring.Script.InsertAfter(AstNode node, AstNode newNode)

   at CSharpBinding.Refactoring.CSharpCodeGenerator.InsertEventHandler(ITypeDefinition target, String name, IEvent eventDefinition, Boolean jumpTo, InsertEventHandlerBodyKind bodyKind)

   at CSharpBinding.FormsDesigner.CSharpEventBindingService.InsertEventHandlerInternal(String methodName, IEvent evt)

   at CSharpBinding.FormsDesigner.CSharpEventBindingService.<>c__DisplayClass10_1.<ShowCode>b__0()

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Post-error application state information:

Installed 3rd party AddIns: 

ProjectService.CurrentSolution: [Solution E:\c#\test0\test0.sln with 1 projects]

ProjectService.CurrentProject: [CSharpProject: test0]

Workbench.ActiveContent: [AvalonEditViewContent E:\c#\test0\test0\MainForm.cs]


Exception during search, current document, which document was auto-extracted from DLL.

$
0
0

I followed this 2nd sslStream to its definition (control-return):

sslStream = newSslStream(newNetworkStream(tcpForSslClient), true, MyLenientSslCryptoCallback, null, encryptionPolicy);

While in that document [SslStream] padlock, I did highlight "SslProtocols" and Find-all (shift-cmd-F) which found none in solution;

I changed to search in current document, did find-all, and got exception below. Repeating it now, it is repeatable.

 

SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version         : 4.5.51209
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 189608kb
GC Heap Memory       : 63349kb

Exception thrown:
System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: The given path's format is not supported.
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at SearchAndReplace.SearchManager.SearchableFileContentFinder.Create(FileName fileName)
   at SearchAndReplace.SearchManager.SearchRun.SearchFile(FileName fileName)
   at SearchAndReplace.SearchManager.SearchRun.<>c__DisplayClass16_0.<SearchParallel>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.AggregateException.Handle(Func`2 predicate)
   at SearchAndReplace.ObserverSearchResult.System.IObserver<ICSharpCode.SharpDevelop.Editor.Search.SearchedFile>.OnError(Exception error)
---> (Inner Exception #0) System.NotSupportedException: The given path's format is not supported.
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at SearchAndReplace.SearchManager.SearchableFileContentFinder.Create(FileName fileName)
   at SearchAndReplace.SearchManager.SearchRun.SearchFile(FileName fileName)
   at SearchAndReplace.SearchManager.SearchRun.<>c__DisplayClass16_0.<SearchParallel>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---


---- Recent log messages:
12:18:49.139 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.140 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.140 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.141 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.142 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.143 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.144 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.144 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.147 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.147 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.147 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:19:20.651 [1] DEBUG - Parallel FindAll starting
12:19:20.728 [33] DEBUG - Parallel FindAll finished with error
12:19:20.739 [1] ERROR -
--> Exception:
System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: The given path's format is not supported.
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at SearchAndReplace.SearchManager.SearchableFileContentFinder.Create(FileName fileName)
   at SearchAndReplace.SearchManager.SearchRun.SearchFile(FileName fileName)
   at SearchAndReplace.SearchManager.SearchRun.<>c__DisplayClass16_0.<SearchParallel>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.AggregateException.Handle(Func`2 predicate)
   at SearchAndReplace.ObserverSearchResult.System.IObserver<ICSharpCode.SharpDevelop.Editor.Search.SearchedFile>.OnError(Exception error)
---> (Inner Exception #0) System.NotSupportedException: The given path's format is not supported.
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at SearchAndReplace.SearchManager.SearchableFileContentFinder.Create(FileName fileName)
   at SearchAndReplace.SearchManager.SearchRun.SearchFile(FileName fileName)
   at SearchAndReplace.SearchManager.SearchRun.<>c__DisplayClass16_0.<SearchParallel>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---

12:19:20.952 [1] WARN - Stack trace of last exception log:
   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)
   at SearchAndReplace.ObserverSearchResult.System.IObserver<ICSharpCode.SharpDevelop.Editor.Search.SearchedFile>.OnError(Exception error)
   at ICSharpCode.SharpDevelop.ReactiveExtensions.UIThreadObservable`1.<>c__DisplayClass3_0.<Subscribe>b__3(Object state)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[ arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[ parameters, Object[ arguments)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[ parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[ args)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   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()
   at System.Windows.Forms.Control.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 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.Run(IList`1 fileList)
   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)
   at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication()
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run()
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main(String[ args)

---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution C:\AutoTest\trunk\ToolsSource\Grapple\Grapple.sln with 2 projects]
ProjectService.CurrentProject: [CSharpProject: Grapple]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Editor.Search.SearchResultsPad

 

5.1 Beta 2 and RC - Issues with designer and custom controls

$
0
0

Hi,

I have experienced the following recently with the above SD5.1 versions, with 4.x there was no problem; I observed/checked especially together with AForge packages version 2.2.5.0 (some others only shortly tested).

- After opening the original SD4.x solution and editing the code, at some point I got a "Designer failed to load" message; it related to assemblies which were reported not to be found, but the files were still there (nothing actually changed). The assembly still built fine and ran as expected. It did not help to remove and re-install the packages. Only manually commenting out the related custom controls in the ...Designer.cs file will "fix" it (and now I can not get back to the original state).

- If adding a new reference the controls inside will only show up in the "Tools" tab (under "Custom Components") after re-building the solution/the project. Similar holds true if a package/reference is removed, custom controls will not be updated before re-build.Is this really intended?

- In "Configure Sidebar" dialog window the "Custom Components" category does not show up?

- I cannot add custom components to the form anymore, neither drag&drop nor clicking and drawing the size rectangle works. The tool selection just resets back to the "Pointer" tool.

Any ideas?

Regards

Michael

 

Below is the complete error message - seems the dependency DLLs for AForge.Controls are being searched in the wrong folder(s):


Failed to load designer. Check the source code for syntax errors and check if all references are available.

ICSharpCode.FormsDesigner.FormsDesignerLoadException: System.IO.FileNotFoundException: Could not load file or assembly 'AForge.Imaging, Version=2.2.5.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b' or one of its dependencies. Das System kann die angegebene Datei nicht finden.
File name: 'AForge.Imaging, Version=2.2.5.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b'
   at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)

=== Pre-bind state information ===
LOG: DisplayName = AForge.Imaging, Version=2.2.5.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b
 (Fully-specified)
LOG: Appbase = file:///F:/Programming/SharpDevelop/5.1/bin/
LOG: Initial PrivatePath = NULL
Calling assembly : AForge.Controls, Version=2.2.5.0, Culture=neutral, PublicKeyToken=a8ac264d1dc6b9d9.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: F:\Programming\SharpDevelop\5.1\bin\SharpDevelop.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: AForge.Imaging, Version=2.2.5.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/AForge.Imaging.DLL.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/AForge.Imaging/AForge.Imaging.DLL.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/Tools/NUnit/AForge.Imaging.DLL.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/Tools/NUnit/AForge.Imaging/AForge.Imaging.DLL.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/AForge.Imaging.EXE.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/AForge.Imaging/AForge.Imaging.EXE.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/Tools/NUnit/AForge.Imaging.EXE.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/Tools/NUnit/AForge.Imaging/AForge.Imaging.EXE.
LOG: Attempting download of new URL file:///H:/Programming/SharpDevelop/AForgeTest/packages/AForge.Controls.2.2.5/lib/AForge.Imaging.DLL.
LOG: Attempting download of new URL file:///H:/Programming/SharpDevelop/AForgeTest/packages/AForge.Controls.2.2.5/lib/AForge.Imaging/AForge.Imaging.DLL.
LOG: Attempting download of new URL file:///H:/Programming/SharpDevelop/AForgeTest/packages/AForge.Controls.2.2.5/lib/AForge.Imaging.EXE.
LOG: Attempting download of new URL file:///H:/Programming/SharpDevelop/AForgeTest/packages/AForge.Controls.2.2.5/lib/AForge.Imaging/AForge.Imaging.EXE.


System.IO.FileNotFoundException: Could not load file or assembly 'AForge.Video, Version=2.2.5.0, Culture=neutral, PublicKeyToken=cbfb6e07d173c401' or one of its dependencies. Das System kann die angegebene Datei nicht finden.
File name: 'AForge.Video, Version=2.2.5.0, Culture=neutral, PublicKeyToken=cbfb6e07d173c401'
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters()
   at System.Reflection.RuntimeMethodInfo.GetParametersNoCopy()
   at System.Reflection.RuntimePropertyInfo.GetIndexParametersNoCopy()
   at System.Reflection.RuntimePropertyInfo.GetIndexParameters()
   at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetProperties(Type type)
   at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetProperties()
   at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties()
   at System.ComponentModel.TypeDescriptor.GetProperties(Type componentType)
   at System.Windows.Forms.Design.ControlDesigner.Initialize(IComponent component)
   at System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String name, IContainer containerToAddTo)
   at System.ComponentModel.Design.DesignerHost.PerformAdd(IComponent component, String name)
   at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
   at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
   at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[ parameters, String name, Boolean addToContainer)
   at System.ComponentModel.Design.Serialization.ComponentCodeDomSerializer.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[ parameters, String name, Boolean addToContainer)
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
   at System.ComponentModel.Design.Serialization.CodeDomSerializer.DeserializeStatementToInstance(IDesignerSerializationManager manager, CodeStatement statement)
   at System.ComponentModel.Design.Serialization.CodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
   at ICSharpCode.FormsDesigner.Services.ProjectResourcesComponentCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
   at System.Windows.Forms.Design.ControlCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
   at ICSharpCode.FormsDesigner.Services.ProjectResourcesComponentCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
   at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.DeserializeName(IDesignerSerializationManager manager, String name, CodeStatementCollection statements)

=== Pre-bind state information ===
LOG: DisplayName = AForge.Video, Version=2.2.5.0, Culture=neutral, PublicKeyToken=cbfb6e07d173c401
 (Fully-specified)
LOG: Appbase = file:///F:/Programming/SharpDevelop/5.1/bin/
LOG: Initial PrivatePath = NULL
Calling assembly : AForge.Controls, Version=2.2.5.0, Culture=neutral, PublicKeyToken=a8ac264d1dc6b9d9.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: F:\Programming\SharpDevelop\5.1\bin\SharpDevelop.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: AForge.Video, Version=2.2.5.0, Culture=neutral, PublicKeyToken=cbfb6e07d173c401
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/AForge.Video.DLL.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/AForge.Video/AForge.Video.DLL.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/Tools/NUnit/AForge.Video.DLL.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/Tools/NUnit/AForge.Video/AForge.Video.DLL.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/AForge.Video.EXE.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/AForge.Video/AForge.Video.EXE.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/Tools/NUnit/AForge.Video.EXE.
LOG: Attempting download of new URL file:///F:/Programming/SharpDevelop/5.1/bin/Tools/NUnit/AForge.Video/AForge.Video.EXE.
LOG: Attempting download of new URL file:///H:/Programming/SharpDevelop/AForgeTest/packages/AForge.Controls.2.2.5/lib/AForge.Video.DLL.
LOG: Attempting download of new URL file:///H:/Programming/SharpDevelop/AForgeTest/packages/AForge.Controls.2.2.5/lib/AForge.Video/AForge.Video.DLL.
LOG: Attempting download of new URL file:///H:/Programming/SharpDevelop/AForgeTest/packages/AForge.Controls.2.2.5/lib/AForge.Video.EXE.
LOG: Attempting download of new URL file:///H:/Programming/SharpDevelop/AForgeTest/packages/AForge.Controls.2.2.5/lib/AForge.Video/AForge.Video.EXE.


System.ComponentModel.Design.Serialization.CodeDomSerializerException: The variable 'videoSourcePlayer1' is either undeclared or was never assigned.
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
   at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)


   at ICSharpCode.FormsDesigner.FormsDesignerViewContent.LoadDesigner()
   at ICSharpCode.FormsDesigner.FormsDesignerViewContent.LoadAndDisplayDesigner()
   at ICSharpCode.FormsDesigner.FormsDesignerViewContent.LoadInternal(OpenedFile file, Stream stream)
   at ICSharpCode.SharpDevelop.Workbench.AbstractViewContentHandlingLoadErrors.Load(OpenedFile file, Stream stream)

Can't add custom component

$
0
0

This has happened several times. I'm working on a Solution that uses some dll, like OpenTK or EmguCV.

I've added the UI components to my designer toolbar (or they appear automatically under "Custom components" after adding the references).

I work on my project for a while, and at some point I can't go to design editor anymore. It complains that it can't find the referenced dll.

 

this has forced me to start over several times, but now I'm stuck.

I create a new Solution, add the referenced dlls, I can't drag and drop the UI components to the form designer. If I look into "Configure sidebar", it says that it can't find the dlls.

Does ICSharpCode.TextEditor have WordWrap feature ?

$
0
0

Hi all,

I am trying to use ICSharpCode.TextEditor Control in my application, a text processing, but I can not implement feature WordWrap. Does ICSharpCode.TextEditor have WordWrap feature ? If it have, please tell me how to implement it ? Thank in advance.

vietanh

5.1 RC - debugger is mad, exception + crash

$
0
0

hi!

i switched from SD 4 recently. today i wanted to debug something (run was okay).

1. setting a breakpoint and then running does step in, but could do so on wrong line (though i definitely rebuilt the project)

eg. set break at line 147, kicks in at line 134.

2. when running, setting/unsetting a breakpoint caused an exception:

SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version         : 4.5.51209
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : German (Germany) (de-DE)
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 365276kb
GC Heap Memory       : 178027kb

Unhandled WPF exception
Exception thrown:
System.Runtime.InteropServices.COMException (0x80131345): Cannot set a breakpoint here. (Exception from HRESULT: 0x80131345)
   at Debugger.Interop.CorDebug.ICorDebugCode.__CreateBreakpoint(UInt32 offset, ICorDebugFunctionBreakpoint& ppBreakpoint)
   at Debugger.Breakpoint.SetBreakpoint(Module module)
   at Debugger.NDebugger.AddBreakpoint(Breakpoint breakpoint)
   at Debugger.NDebugger.AddBreakpoint(String fileName, Int32 line, Int32 column, Boolean enabled)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.AddBreakpoint(BreakpointBookmark bookmark)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.<InitializeService>b__63_0(Object sender, BookmarkEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at ICSharpCode.SharpDevelop.Editor.Bookmarks.BookmarkManager.OnAdded(BookmarkEventArgs e)
   at ICSharpCode.SharpDevelop.Editor.Bookmarks.BookmarkManager.AddMark(SDBookmark bookmark)
   at ICSharpCode.SharpDevelop.Editor.Bookmarks.BookmarkManager.AddMark(SDBookmark bookmark, IDocument document, Int32 line)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.ToggleBreakpointAt(ITextEditor editor, Int32 lineNumber)
   at ICSharpCode.AvalonEdit.AddIn.IconBarMargin.OnMouseUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.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.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)

 

 

3. doing the same as 2. caused a non-responding application and crash.

(from the windows events) first it goes like this,  event  #1026, .NET Runtime

Application: SharpDevelop.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at System.Buffer.Memcpy(Byte*, Byte*, Int32)
   at System.String.CtorCharPtrStartLength(Char*, Int32, Int32)
   at System.Runtime.InteropServices.Marshal.PtrToStringUni(IntPtr, Int32)
   at Debugger.Interop.Util.GetCorSymString(Debugger.Interop.UnmanagedStringGetter)
   at Debugger.Interop.CorSym.CorSymExtensionMethods.GetURL(Debugger.Interop.CorSym.ISymUnmanagedDocument)
   at Debugger.PdbSymbolSource+<>c__DisplayClass5_0.<GetSequencePoints>b__0(Debugger.Interop.CorSym.ISymUnmanagedDocument)
   at System.Linq.Enumerable.FirstOrDefault[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,Boolean>)
   at Debugger.PdbSymbolSource+<GetSequencePoints>d__5.MoveNext()
   at Debugger.Breakpoint.SetBreakpoint(Debugger.Module)
   at Debugger.NDebugger.AddBreakpoint(Debugger.Breakpoint)
   at Debugger.NDebugger.AddBreakpoint(System.String, Int32, Int32, Boolean)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.AddBreakpoint(Debugger.AddIn.Breakpoints.BreakpointBookmark)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.<InitializeService>b__63_0(System.Object, ICSharpCode.SharpDevelop.Editor.Bookmarks.BookmarkEventArgs)
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at ICSharpCode.SharpDevelop.Editor.Bookmarks.BookmarkManager.OnAdded(ICSharpCode.SharpDevelop.Editor.Bookmarks.BookmarkEventArgs)
   at ICSharpCode.SharpDevelop.Editor.Bookmarks.BookmarkManager.AddMark(ICSharpCode.SharpDevelop.Editor.Bookmarks.SDBookmark)
   at ICSharpCode.SharpDevelop.Editor.Bookmarks.BookmarkManager.AddMark(ICSharpCode.SharpDevelop.Editor.Bookmarks.SDBookmark, ICSharpCode.NRefactory.Editor.IDocument, Int32)
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.ToggleBreakpointAt(ICSharpCode.SharpDevelop.Editor.ITextEditor, Int32)
   at ICSharpCode.AvalonEdit.AddIn.IconBarMargin.OnMouseUp(System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
   at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
   at ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost+HostNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.Run(System.Collections.Generic.IList`1<System.String>)
   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(System.Object)
   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(ICSharpCode.SharpDevelop.Sda.WorkbenchSettings)
   at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(ICSharpCode.SharpDevelop.Sda.WorkbenchSettings)
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication()
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run()
   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main(System.String[)

followed by an event #1000:

SharpDevelop.exe, Version: 5.1.0.5134
mscorlib.ni.dll, Version: 4.0.30319.34209
Error code: 0xc0000005
offset: 0x0038cceb

 

thanks! :)

where did the class browser quick search go? (+add to projects browser)

$
0
0

hello,

after working a lttle with 5.1 RC, I noticed one big show stopper (for me):

 

in the classes window, I can't type-search for classes anymore.

there is no field to enter, that i was used to in SD4.

well, SD4 quick search was a shame, too, because it was only searching for classes *beginning* with the typed string.

 

i have a rather large projects solution, and sometimes i try to remember where that one class in a multi-classes file was or how it was called.

 

i'd just type in "explo" and find the classes that have that string, ordered by relevance, e.g. "ExplorerWindow, IExplorerConnector, ClassExplorerConnectionWizardExplorer"

sorry if i missed this feature somewhere, but couldn't find something in the IDE.

it would be also handy in the projects view. i know i could do it with Search&Replace, but its scope and handling is not a "quick search" thingy ;)

 

thanks!

Error in SharpDevelop

$
0
0

Create new solution.

Add another form Form1 to solution.

Show form1 when mainform loads.

Now on form 1 write the following code before " public Form1() ..."

MainForm da = new MainForm();

Run the program, SharpDevelop will stop execution of the program with unhandled exception and you will get 

"System.StackOverflowException

Cannot intercept exception. Debugged program can not be continued and properties can not be evaluated"


SDA has Stopped Working

$
0
0

I am getting this issue with 2014 & 2016 versions of revit. This is preventing me from wrighting anything in 2014 but seems to be allowing me to wright in 2016. PLEASE FIX.

 

SharpDevelop Version : 4.2.0.8783-27231549

.NET Version         : 4.0.30319.18444

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : English (United States) (en-US)

Running as 64 bit process

Working Set Memory   : 880260kb

GC Heap Memory       : 400309kb

 

Unhandled exception terminated the workbench

Exception thrown:

System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it

   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

   --- End of inner exception stack trace ---

 

Server stack trace: 

   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)

   at System.Net.HttpWebRequest.GetRequestStream()

   at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)

   at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)

   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

 

Exception rethrown at [0]: 

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at SDACommon.SharpDevelopIDEEventWrapper.CloseIDE()

   at SDA.SDAHost.interactionClass_SDAHostClosed()

   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[ args, Object server, Object[& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

 

Exception rethrown at [1]: 

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at SDA.SDAHost.interactionClass_SDAHostClosed()

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.OnWorkbenchUnloaded()

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)

 

---- Recent log messages:

09:32:00.309 [SDmain] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ErrorListPad

09:32:00.403 [SDmain] INFO - Loading addin SharpRefactoring

09:32:10.277 [21] DEBUG - Telling worker process to exit

09:32:10.279 [21] DEBUG - Waiting for thread-join

09:32:10.280 [37] DEBUG - Cannot read from WorkerProcess 1408: end of stream

09:32:10.280 [37] DEBUG - Stopped reading from WorkerProcess 1408.

09:32:10.283 [37] DEBUG - Telling worker process to exit

09:32:10.285 [37] DEBUG - End of reader thread on WorkerProcess 1408.

09:32:10.286 [21] DEBUG - Joined!

09:42:09.633 [SDmain] DEBUG - Saving memento of '[AvalonEditViewContent C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.vb]' to key '1e84daf3:C:\USERS\CWOODC~1\APPDATA\LOCAL\TEMP\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\REVIT\DOCHOOKUPS9032\255040768\H\SOURCE\H\THISDOCUMENT.VB'

09:42:09.665 [SDmain] DEBUG - ActiveViewContentChanged to 

09:42:09.669 [SDmain] DEBUG - OpenedFileClosed: C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.vb

09:42:09.708 [SDmain] INFO - CurrentProject changed to null

09:42:09.723 [SDmain] DEBUG - Removing part C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.vb from compound class h.ThisDocument

09:42:09.723 [SDmain] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part

09:42:09.772 [SDmain] INFO - Saving layout file: C:\Users\cwoodcock\AppData\Roaming\ICSharpCode\HostedSharpDevelop4\layouts\Default.xml

09:42:09.796 [SDmain] DEBUG - ActiveContentChanged to 

09:42:09.796 [SDmain] DEBUG - ActiveWorkbenchWindowChanged to 

09:42:09.856 [SDmain] DEBUG - ParseInformationUpdated C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.vb new!=null:False

09:42:09.856 [SDmain] DEBUG - ParseInformationUpdated C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\Properties\AssemblyInfo.vb new!=null:False

09:42:09.856 [SDmain] DEBUG - ParseInformationUpdated C:\Users\CWOODC~1\AppData\Local\Temp\{6ECCBB6B-9EFE-41B6-8482-804C72818223}\Revit\DocHookups9032\255040768\h\Source\h\ThisDocument.Designer.vb new!=null:False

09:42:09.920 [SDmain] INFO - Unloading services...

09:42:12.052 [SDmain] WARN - Exception during unloading

--> Exception:

System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it

   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

   --- End of inner exception stack trace ---

 

Server stack trace: 

   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)

   at System.Net.HttpWebRequest.GetRequestStream()

   at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)

   at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)

   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

 

Exception rethrown at [0]: 

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at SDACommon.SharpDevelopIDEEventWrapper.CloseIDE()

   at SDA.SDAHost.interactionClass_SDAHostClosed()

   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[ args, Object server, Object[& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

 

Exception rethrown at [1]: 

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at SDA.SDAHost.interactionClass_SDAHostClosed()

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.OnWorkbenchUnloaded()

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)

09:42:12.053 [SDmain] INFO - Finished running workbench.

09:42:12.054 [SDmain] FATAL - System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it

   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

   --- End of inner exception stack trace ---

 

Server stack trace: 

   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)

   at System.Net.HttpWebRequest.GetRequestStream()

   at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)

   at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)

   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

 

Exception rethrown at [0]: 

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at SDACommon.SharpDevelopIDEEventWrapper.CloseIDE()

   at SDA.SDAHost.interactionClass_SDAHostClosed()

   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[ args, Object server, Object[& outArgs)

   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

 

Exception rethrown at [1]: 

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at SDA.SDAHost.interactionClass_SDAHostClosed()

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.OnWorkbenchUnloaded()

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)

 

---- Post-error application state information:

Installed 3rd party AddIns: [SharpDevelop 4.2.0.8783], [CodeAnalysis 0.0.0.0], [SourceAnalysis 0.0.0.0], [Unit Testing Addin 0.0.0.0], [C# Binding 0.0.0.0], [Python Binding 0.0.0.0], [Ruby Binding 0.0.0.0], [VB .NET Binding 0.0.0.0], [XAML binding 0.0.0.0], [Debugger 0.0.0.0], [AvalonEdit.AddIn 0.0.0.0], [Class Diagram 0.0.0.0], [Data Addin 0.0.0.0], [ILSpyAddIn 0.0.0.0], [Forms Designer 0.0.0.0], [HexEditor 0.0.0.0], [IconViewerAddIn 0.0.0.0], [Resource Editor 0.0.0.0], [WPF Designer AddIn 0.0.0.0], [XML Editor 0.0.0.0], [AddInManager 0.0.0.0], [Microsoft Help System v1.0], [PInvoke Add-in 0.0.0.0], [Regular expressions toolkit 0.0.0.0], [Hornung.ResourceToolkit 0.0.0.0], [Search & Replace 0.0.0.0], [SharpRefactoring 0.0.0.0]

ProjectService.OpenSolution: <null>

ProjectService.CurrentProject: <null>

C# 6.0?

$
0
0

Is there any way to enable C# 6.0 in the editor, or even just in the compiler?

If not, is there a roadmap for this feature?

[ASP.Net] Security Exception (partially trust callers) in Medium Trust

$
0
0
I'm currently building a photoalbum and I want to unzip an uploaded file. Well, on my desktop computer it all worked fine (Fully trust zone), but after uploading it to my hosting company (Medium trust zone) I get the following security exception:

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.

I've contacted my hosting provider as suggested in the error message. Their reaction was that I had to use a component that doesn't require partially trusted callers as they won't edit the trust level.

I'm jusing the following code to unzip the files which are located in '~\Temp.zip', the application has fully write properties in the directory it unzips the files (~\Temp\*).

-----------------------------------------------------------------------------------
Imports ICSharpCode.SharpZipLib.Zip
Imports System.IO
Imports System.Drawing
Imports System.Drawing.Imaging

Partial Class CMS_AddFoto
Inherits System.Web.UI.Page


Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
Dim s As ZipInputStream
Dim theentry As ZipEntry
Dim filename As String

[...]
        s = New ZipInputStream(File.OpenRead(Server.MapPath("temp.zip")))
theentry = s.GetNextEntry

Do Until theentry Is Nothing
filename = Path.GetFileName(theentry.Name)
Unzip("temp.zip", "Temp\", filename)
theentry = s.GetNextEntry
Loop

[...]

End Sub

Public Sub Unzip(ByVal ZipFile As String, ByVal UnzipToFolder As String, ByVal Extract_File As String)
Dim z_file As New ZipFile(File.OpenRead(Server.MapPath(ZipFile)))
Dim z_entry As ZipEntry = z_file.GetEntry(Extract_File)
Dim nbyte As Int32 = 0
Dim read_stream As Stream = z_file.GetInputStream(z_entry)
Dim write_stream As New FileStream(Path.Combine(Server.MapPath(UnzipToFolder), z_entry.Name), FileMode.Create)
Dim bin_write As New BinaryWriter(write_stream, System.Text.Encoding.ASCII)
Dim zip_data(1024) As Byte

Do
nbyte = read_stream.Read(zip_data, 0, 1024)
If nbyte = 0 Then Exit Do
bin_write.Write(zip_data, 0, nbyte)
Loop

read_stream.Close()
bin_write.Close()
write_stream.Close()
End Sub
End Class

-----------------------------------------------------------------------------------

I'm using version 0.84 of the #ziplib.

I would really appreciate any help on how to get things work.

5.1 RC Build 5134 WinForms Designer event methods not being generated

$
0
0

Some weird bug. I don't know if it doesn't work all the time or only for my project (that was created in #develop from start ). When I click on some control or I do it from the properties menu where events are located it assigns the event to a method but this method isn't created. I've got to write this method manually. Thank you for help in advance!! :) Greetz.

Problemas al instalar sharp develop, me manda el siguiente error al ejecutar el proyecto actual:

$
0
0

Al iniciar SharpDevelop 5.1 me marca un error "ComponentAddin has not loaded becouse it requires Sahrpdevelop, version 5.0, but verison 5.1.0.5134 is installed." y al mandar ejecutar cualquier solucion/proyecto me marca lo siguiente

 

SharpDevelop Version : 5.1.0.5134-RC-d5052dc5

.NET Version         : 4.5.53349

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : Spanish (Mexico) (es-MX)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 148412kb

GC Heap Memory       : 27341kb

 

Exception thrown:

System.TypeInitializationException: The type initializer for 'SharpDevTFS.TFS' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

   at SharpDevTFS.TFS..cctor()

   --- End of inner exception stack trace ---

   at SharpDevTFS.TFS.GetFileStatus(String fileName)

   at SharpDevTFS.OverlayIconManager.RunStep(AbstractProjectBrowserTreeNode node)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

 

---- Recent log messages:

09:56:35.379 [1] DEBUG - ProjectBrowser: Loading solution [Solution N:\Proys\Testies\Testies.sln with 1 projects] into project tree view

09:56:35.383 [6] DEBUG - Git: OverlayIconManager Thread started

09:56:35.385 [1] INFO - Loading addin F# Binding

09:56:35.385 [13] DEBUG - Git: OverlayIconManager Thread started

09:56:35.413 [1] INFO - Loading addin WiX Binding

09:56:35.446 [1] INFO - Initialize DirectoryNode N:\Proys\Testies\Testies

09:56:35.478 [1] DEBUG - ActiveWorkbenchWindowChanged to 

09:56:35.480 [1] DEBUG - NavigationService -- suspend logging

09:56:35.480 [1] DEBUG - NavigationService -- resume logging

09:56:35.586 [LoadSolutionProjects] DEBUG - Deserializing C:\Users\Lazaqro\AppData\Local\Temp\SharpDevelop5.1\Testies.b89455e9.prj

09:56:35.587 [13] ERROR - 

--> Exception:

System.TypeInitializationException: The type initializer for 'SharpDevTFS.TFS' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

   at SharpDevTFS.TFS..cctor()

   --- End of inner exception stack trace ---

   at SharpDevTFS.TFS.GetFileStatus(String fileName)

   at SharpDevTFS.OverlayIconManager.RunStep(AbstractProjectBrowserTreeNode node)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

09:56:35.587 [13] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

09:56:35.605 [LoadSolutionProjects] DEBUG - Testies: ParseFiles() finished. 6 files were re-used from CC cache; 0 files were parsed (0 of those are serializable)

09:56:36.776 [LoadSolutionProjects] DEBUG - LoadSolutionProjectsThread finished after 00:00:01.4140666

09:56:36.805 [6] DEBUG - Git: OverlayIconManager Thread finished

09:57:23.688 [13] ERROR - 

--> Exception:

System.TypeInitializationException: The type initializer for 'SharpDevTFS.TFS' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

   at SharpDevTFS.TFS..cctor()

   --- End of inner exception stack trace ---

   at SharpDevTFS.TFS.GetFileStatus(String fileName)

   at SharpDevTFS.OverlayIconManager.RunStep(AbstractProjectBrowserTreeNode node)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

09:57:23.688 [13] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

09:57:24.856 [13] ERROR - 

--> Exception:

System.TypeInitializationException: The type initializer for 'SharpDevTFS.TFS' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

   at SharpDevTFS.TFS..cctor()

   --- End of inner exception stack trace ---

   at SharpDevTFS.TFS.GetFileStatus(String fileName)

   at SharpDevTFS.OverlayIconManager.RunStep(AbstractProjectBrowserTreeNode node)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

09:57:24.856 [13] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

09:57:26.640 [13] ERROR - 

--> Exception:

System.TypeInitializationException: The type initializer for 'SharpDevTFS.TFS' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

   at SharpDevTFS.TFS..cctor()

   --- End of inner exception stack trace ---

   at SharpDevTFS.TFS.GetFileStatus(String fileName)

   at SharpDevTFS.OverlayIconManager.RunStep(AbstractProjectBrowserTreeNode node)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

09:57:26.641 [13] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

09:57:27.848 [13] ERROR - 

--> Exception:

System.TypeInitializationException: The type initializer for 'SharpDevTFS.TFS' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

   at SharpDevTFS.TFS..cctor()

   --- End of inner exception stack trace ---

   at SharpDevTFS.TFS.GetFileStatus(String fileName)

   at SharpDevTFS.OverlayIconManager.RunStep(AbstractProjectBrowserTreeNode node)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

09:57:27.848 [13] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

09:57:33.024 [13] ERROR - 

--> Exception:

System.TypeInitializationException: The type initializer for 'SharpDevTFS.TFS' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

   at SharpDevTFS.TFS..cctor()

   --- End of inner exception stack trace ---

   at SharpDevTFS.TFS.GetFileStatus(String fileName)

   at SharpDevTFS.OverlayIconManager.RunStep(AbstractProjectBrowserTreeNode node)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

09:57:33.024 [13] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)

   at SharpDevTFS.OverlayIconManager.Run(Object state)

   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

 

---- Post-error application state information:

Installed 3rd party AddIns: [ComponentAddin 1.0.0, Enabled=False, Action=DependencyError], [Mono 0.0.0.0], [SharpDevTFS 0.0.0.0]

ProjectService.CurrentSolution: [Solution N:\Proys\Testies\Testies.sln with 1 projects]

ProjectService.CurrentProject: <null>

Workbench.ActiveContent: System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.

   at System.Windows.Threading.Dispatcher.VerifyAccess()

   at ICSharpCode.SharpDevelop.DispatcherMessageLoop.VerifyAccess()

   at ICSharpCode.SharpDevelop.Workbench.WpfWorkbench.get_ActiveContent()

   at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.<>c.<InitializeWorkbench>b__4_0()

   at ICSharpCode.Core.ApplicationStateInfoService.GetCurrentApplicationStateInfo()

Viewing all 1764 articles
Browse latest View live