What I was doing:
- Was building a Revit Add-in following "My First Revit Plugin"; while adapting C# instructions to SharpDevelop - VB.NET
- See <http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=16849339>
- Had created all code. Completed successful Analysis > Test > ... current project. Also completed successful build.
- Then could not find dll file. So was attempting to Save As to a new location, with plan to re-build.
Expected:
- Placement of file(s) at new Save As target.
- And ability to run build again and have DLL go to new path
Result:
- One file ("Lab1PLaceGroup") was placed at new path - C:\RvtAddInTest\
- SharpDevelop crashed
SharpDevelop Version : 4.2.0.8783-27231549
.NET Version : 4.0.30319.42000
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 : 415532kb
GC Heap Memory : 118120kb
Unhandled exception terminated the workbench
Exception thrown:
System.OverflowException: Value was either too large or too small for a Double.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, IFormatProvider provider)
at ICSharpCode.NRefactory.Parser.VB.Lexer.ReadDigit(Char ch, Int32 x)
at ICSharpCode.NRefactory.Parser.VB.Lexer.NextInternal()
at ICSharpCode.NRefactory.Parser.VB.Lexer.Next()
at ICSharpCode.NRefactory.Parser.VB.Lexer.NextToken()
at ICSharpCode.SharpDevelop.Dom.VBNet.VBNetExpressionFinder.FindFullExpression(String text, Int32 offset)
at ICSharpCode.SharpDevelop.Refactoring.EditorContext.GetExpressionAt(ITextEditor editor, Int32 caretLine, Int32 caretColumn)
at ICSharpCode.SharpDevelop.Refactoring.EditorContext.GetExpressionAtCaret(ITextEditor editor)
at ICSharpCode.SharpDevelop.Refactoring.EditorContext..ctor(ITextEditor editor)
at ICSharpCode.SharpDevelop.Refactoring.EditorActionsProvider..ctor(ITextEditor editor, IList`1 providers)
at ICSharpCode.AvalonEdit.AddIn.ContextActionsRenderer.BuildPopupViewModel(ITextEditor editor)
at ICSharpCode.AvalonEdit.AddIn.ContextActionsRenderer.TimerMoveTick(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(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.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at ICSharpCode.SharpDevelop.Commands.WorkbenchStartup.Run(IList`1 fileList)
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
---- Recent log messages:
14:12:53.363 [SDmain] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.OpenFileFromProjectBrowser', activation=Menu
14:12:53.363 [SDmain] INFO - Open file C:\Users\gmiller\AppData\Local\Temp\{28E13785-18F6-4901-88D1-96D3DB8BA15D}\Revit\DocHookups12624\1161238016\Lab1PlaceGroup\Source\Lab1PlaceGroup\obj\Debug\Lab1PlaceGroup.vbproj.FileListAbsolute.txt
14:12:53.365 [SDmain] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Users\gmiller\AppData\Local\Temp\{28E13785-18F6-4901-88D1-96D3DB8BA15D}\Revit\DocHookups12624\1161238016\Lab1PlaceGroup\Source\Lab1PlaceGroup\obj\Debug\Lab1PlaceGroup.vbproj.FileListAbsolute.txt]
14:12:53.365 [SDmain] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Lab1PlaceGroup.vbproj.FileListAbsolute.txt]
14:12:53.365 [SDmain] DEBUG - NavigationService
ActiveViewContent: Lab1PlaceGroup.vbproj.FileListAbsolute.txt
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
14:12:53.365 [SDmain] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Users\gmiller\AppData\Local\Temp\{28E13785-18F6-4901-88D1-96D3DB8BA15D}\Revit\DocHookups12624\1161238016\Lab1PlaceGroup\Source\Lab1PlaceGroup\obj\Debug\Lab1PlaceGroup.vbproj.FileListAbsolute.txt]
14:13:31.161 [SDmain] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
14:13:32.257 [SDmain] INFO - CurrentProject changed to null
14:13:36.637 [SDmain] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.ShowPropertiesForNode', activation=Menu
14:13:36.638 [SDmain] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.PropertyPad
14:13:41.176 [SDmain] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
14:13:47.914 [SDmain] INFO - CurrentProject changed to Lab1PlaceGroup
14:13:59.258 [SDmain] INFO - CurrentProject changed to null
14:14:01.719 [SDmain] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFileAs', activation=MainMenu
14:15:39.707 [SDmain] DEBUG - OpenedFileFileNameChange: C:\Users\gmiller\AppData\Local\Temp\{28E13785-18F6-4901-88D1-96D3DB8BA15D}\Revit\DocHookups12624\1161238016\Lab1PlaceGroup\Source\Lab1PlaceGroup\obj\Debug\Lab1PlaceGroup.vbproj.FileListAbsolute.txt => C:\RvtAddInTest\Lab1PlaceGroup.vb
14:15:39.707 [SDmain] INFO - ClearParseInformation: C:\Users\gmiller\AppData\Local\Temp\{28E13785-18F6-4901-88D1-96D3DB8BA15D}\Revit\DocHookups12624\1161238016\Lab1PlaceGroup\Source\Lab1PlaceGroup\obj\Debug\Lab1PlaceGroup.vbproj.FileListAbsolute.txt
14:15:39.708 [SDmain] DEBUG - Save C:\RvtAddInTest\Lab1PlaceGroup.vb
14:15:39.709 [SDmain] INFO - C:\RvtAddInTest\Lab1PlaceGroup.vb
14:15:39.713 [SDmain] DEBUG - ParseInformationUpdated C:\RvtAddInTest\Lab1PlaceGroup.vb new!=null:True
14:15:47.547 [SDmain] INFO - Unloading services...
14:15:47.560 [SDmain] DEBUG - Removing part C:\Users\gmiller\AppData\Local\Temp\{28E13785-18F6-4901-88D1-96D3DB8BA15D}\Revit\DocHookups12624\1161238016\Lab1PlaceGroup\Source\Lab1PlaceGroup\ThisDocument.vb from compound class Lab1PlaceGroup.ThisDocument
14:15:47.560 [SDmain] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
14:15:47.595 [SDmain] INFO - Saved CodeCompletionDataUsageCache (16 of 16 items)
14:15:47.613 [SDmain] INFO - Finished running workbench.
14:15:47.614 [SDmain] FATAL - System.OverflowException: Value was either too large or too small for a Double.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, IFormatProvider provider)
at ICSharpCode.NRefactory.Parser.VB.Lexer.ReadDigit(Char ch, Int32 x)
at ICSharpCode.NRefactory.Parser.VB.Lexer.NextInternal()
at ICSharpCode.NRefactory.Parser.VB.Lexer.Next()
at ICSharpCode.NRefactory.Parser.VB.Lexer.NextToken()
at ICSharpCode.SharpDevelop.Dom.VBNet.VBNetExpressionFinder.FindFullExpression(String text, Int32 offset)
at ICSharpCode.SharpDevelop.Refactoring.EditorContext.GetExpressionAt(ITextEditor editor, Int32 caretLine, Int32 caretColumn)
at ICSharpCode.SharpDevelop.Refactoring.EditorContext.GetExpressionAtCaret(ITextEditor editor)
at ICSharpCode.SharpDevelop.Refactoring.EditorContext..ctor(ITextEditor editor)
at ICSharpCode.SharpDevelop.Refactoring.EditorActionsProvider..ctor(ITextEditor editor, IList`1 providers)
at ICSharpCode.AvalonEdit.AddIn.ContextActionsRenderer.BuildPopupViewModel(ITextEditor editor)
at ICSharpCode.AvalonEdit.AddIn.ContextActionsRenderer.TimerMoveTick(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(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.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at ICSharpCode.SharpDevelop.Commands.WorkbenchStartup.Run(IList`1 fileList)
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>