I am using git and did a checkout to earlier version of windows application. Then was trying to run a project and was receiving message from compilator like "не удалось создать имя ресурса манифеста для "Form4.resx" (Form4.cs and Form4.Designer.cs are missing after checkout). I gave a look at Form4 code (tab was opened before that, so I thought nothing strange going on), then switched to designer mode. It was saying that no source file found. I tryed to switch to source code and exception appeared.
SharpDevelop Version : 4.3.3.9663-463ee024
.NET Version : 4.0.30319.18408
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Russian (Russia) (ru-RU)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 96960kb
GC Heap Memory : 28706kb
Unhandled WPF exception
Exception thrown:
System.IO.FileNotFoundException: Файл 'C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs' не найден.
Имя файла: 'C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs'
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
в System.IO.File.GetAttributes(String path)
в ICSharpCode.AvalonEdit.AddIn.AvalonEditViewContent.Load(OpenedFile file, Stream stream)
в ICSharpCode.SharpDevelop.OpenedFile.SwitchedToView(IViewContent newView)
в ICSharpCode.SharpDevelop.FileServiceOpenedFile.WorkbenchActiveViewContentChanged(Object sender, EventArgs e)
в System.EventHandler.Invoke(Object sender, EventArgs e)
в ICSharpCode.SharpDevelop.Gui.WpfWorkbench.set_ActiveViewContent(IViewContent value)
в ICSharpCode.SharpDevelop.Gui.WpfWorkbench.WorkbenchWindowActiveViewContentChanged(Object sender, EventArgs e)
в ICSharpCode.SharpDevelop.Gui.AvalonWorkbenchWindow.UpdateActiveViewContent()
в ICSharpCode.SharpDevelop.Gui.AvalonWorkbenchWindow.<CreateViewTabControl>b__d(Object param0, SelectionChangedEventArgs param1)
в System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
в System.Windows.Controls.TabControl.OnSelectionChanged(SelectionChangedEventArgs e)
в System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedInfos, List`1 selectedInfos)
в System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
в System.Windows.Controls.Primitives.Selector.SetSelectedHelper(Object item, FrameworkElement UI, Boolean selected)
в System.Windows.Controls.Primitives.Selector.NotifyIsSelectedChanged(FrameworkElement container, Boolean selected, RoutedEventArgs e)
в System.Windows.Controls.Primitives.Selector.OnSelected(Object sender, RoutedEventArgs e)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
в System.Windows.Controls.TabItem.OnSelected(RoutedEventArgs e)
в System.Windows.Controls.TabItem.OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
в System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
в System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
в System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
в System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
в System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
в System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
в System.Windows.Controls.TabItem.OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
в System.Windows.UIElement.OnPreviewGotKeyboardFocusThunk(Object sender, KeyboardFocusChangedEventArgs e)
в System.Windows.Input.KeyboardFocusChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
в System.Windows.Input.InputManager.ProcessStagingArea()
в System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
в System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
в System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
в System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
в System.Windows.UIElement.Focus()
в System.Windows.Controls.TabItem.SetFocus()
в System.Windows.Controls.TabItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)
в System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)
в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
в System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
в System.Windows.Input.InputManager.ProcessStagingArea()
в System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
в System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
18:39:23.125 [10] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
18:39:23.125 [10] DEBUG - Adding existing class Form2 from Form2.cs
18:39:23.125 [10] DEBUG - Creating compound for BD_1.Form2
18:39:23.128 [1] DEBUG - ParseInformationUpdated C:\Учёба\Базы данных\BD_1\BD_1\Form2.cs new!=null:True
18:39:24.151 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Учёба\Базы данных\BD_1\BD_1\DBWork.cs]
18:39:24.151 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: DBWork.cs]
18:39:24.151 [1] DEBUG - NavigationService
ActiveViewContent: DBWork.cs
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
18:39:24.151 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Учёба\Базы данных\BD_1\BD_1\DBWork.cs]
18:39:24.663 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs]
18:39:24.663 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Form4.cs]
18:39:24.663 [1] DEBUG - NavigationService
ActiveViewContent: Form4.cs
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
18:39:24.663 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs]
18:39:25.546 [1] DEBUG - NavigationService
ActiveViewContent: Form4.cs
Subview: ${res:FormsDesigner.DesignTabPages.DesignTabPage}
18:39:25.564 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
18:39:25.890 [1] DEBUG - Forms designer: Load C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs; inMasterLoadOperation=False
18:39:25.912 [1] DEBUG - Forms designer: Determining designer source files for C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs
18:39:25.916 [1] DEBUG - Removing part C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs from compound class BD_1.Form4
18:39:25.917 [1] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
18:39:25.917 [1] DEBUG - Adding existing class Form4 from Form4.cs
18:39:25.917 [1] DEBUG - Creating compound for BD_1.Form4
18:39:26.684 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to null
18:39:26.695 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
18:39:26.960 [1] DEBUG - ParseInformationUpdated C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs new!=null:True
18:39:34.270 [1] DEBUG - NavigationService
ActiveViewContent: Form4.cs
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
18:39:34.270 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Учёба\Базы данных\BD_1\BD_1\Form4.cs]
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent
ProjectService.OpenSolution: [Solution: FileName=C:\Учёба\Базы данных\BD_1\BD_1.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: BD_1]