SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Entity Framework object designer doesn't like changing item layout

Last post 10-04-2012 10:27 AM by mazarin. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 10-04-2012 10:27 AM

    • mazarin
    • Not Ranked
    • Joined on 10-04-2012
    • Poland
    • Posts 6

    Entity Framework object designer doesn't like changing item layout

     

    I changed the layout of items in the designer of edmx (Entity Framework) file generated in VS 2010. Presented error occurs when I'm trying to save the changes every time.

    SharpDevelop Version : 4.2.2.8818-3d0b926b

    .NET Version         : 4.0.30319.269

    OS Version           : Microsoft Windows NT 5.1.2600 Dodatek Service Pack 3

    Current culture      : Polish (Poland) (pl-PL)

    Current UI language  : en

    Working Set Memory   : 191144kb

    GC Heap Memory       : 65933kb

     

    Unhandled WPF exception

    Exception thrown:

    System.ArgumentNullException: Value cannot be null.

    Parameter name: value

       at System.Xml.Linq.XAttribute..ctor(XName name, Object value)

       at ICSharpCode.Data.EDMDesigner.Core.IO.SSDLIO.WriteXElement(SSDLContainer ssdlContainer)

       at ICSharpCode.Data.EDMDesigner.Core.IO.EDMXIO.WriteXDocument(EDMView edmView)

       at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Save(OpenedFile file, Stream stream)

       at ICSharpCode.SharpDevelop.OpenedFile.SaveCurrentViewToStream(Stream stream)

       at ICSharpCode.SharpDevelop.OpenedFile.SaveToDisk()

       at ICSharpCode.SharpDevelop.FileServiceOpenedFile.SaveToDisk()

       at ICSharpCode.SharpDevelop.OpenedFile.SaveToDisk(String newFileName)

       at ICSharpCode.Core.FileUtility.ObservedSave(NamedFileOperationDelegate saveFileAs, String fileName, String message, FileErrorPolicy policy)

       at ICSharpCode.Core.FileUtility.ObservedSave(NamedFileOperationDelegate saveFileAs, String fileName, FileErrorPolicy policy)

       at ICSharpCode.SharpDevelop.Commands.SaveFile.Save(OpenedFile file)

       at ICSharpCode.SharpDevelop.Commands.SaveAllFiles.SaveAll()

       at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.BeforeBuild()

       at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.Run()

       at ICSharpCode.Core.Presentation.CommandWrapper.Execute(Object parameter)

       at ICSharpCode.Core.Presentation.MenuCommand.ShortcutCommandWrapper.Execute(Object parameter)

       at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)

       at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)

       at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

       at System.Windows.Input.InputManager.ProcessStagingArea()

       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

       at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)

       at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)

       at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)

       at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)

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

       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

     

    ---- Recent log messages:

    09:58:00.296 [1] DEBUG - ParseInformationUpdated [edited]\DataManager.cs new!=null:True

    09:58:01.406 [1] DEBUG - ParseInformationUpdated [edited]\DataManager.cs new!=null:True

    09:58:01.703 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFile', activation=Shortcut

    09:58:01.703 [1] DEBUG - Save [edited]\DataManager.cs

    09:58:01.718 [12] DEBUG - Git: OverlayIconManager Thread started

    09:58:01.718 [7] DEBUG - SVN: OverlayIconManager Thread started

    09:58:01.750 [7] DEBUG - SVN: OverlayIconManager Thread finished

    09:58:01.828 [12] DEBUG - Git: OverlayIconManager Thread finished

    09:58:04.859 [1] DEBUG - ParseInformationUpdated [edited]\DataManager.cs new!=null:True

    09:58:06.203 [1] DEBUG - ParseInformationUpdated [edited]\DataManager.cs new!=null:True

    09:58:06.750 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFile', activation=Shortcut

    09:58:06.750 [1] DEBUG - Save [edited]\DataManager.cs

    09:58:06.781 [12] DEBUG - Git: OverlayIconManager Thread started

    09:58:06.812 [7] DEBUG - SVN: OverlayIconManager Thread started

    09:58:06.890 [12] DEBUG - Git: OverlayIconManager Thread finished

    09:58:06.890 [7] DEBUG - SVN: OverlayIconManager Thread finished

    09:58:58.453 [1] DEBUG - ParseInformationUpdated [edited]\DataManager.cs new!=null:True

    09:58:59.156 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFile', activation=Shortcut

    09:58:59.156 [1] DEBUG - Save [edited]\DataManager.cs

    09:58:59.171 [9] DEBUG - Git: OverlayIconManager Thread started

    09:58:59.171 [8] DEBUG - SVN: OverlayIconManager Thread started

    09:58:59.218 [8] DEBUG - SVN: OverlayIconManager Thread finished

    09:58:59.281 [9] DEBUG - Git: OverlayIconManager Thread finished

    09:59:14.812 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.RebuildProject', activation=Shortcut

    09:59:14.812 [1] DEBUG - Save [edited]\LocalModel.edmx

     

    ---- Post-error application state information:

    Installed 3rd party AddIns: [AStyleAddin 3.1.4054.23192], [RemoveUnusedRef 1.0.0], [ThemeTool 0.0.0.0]

    Workbench.ActiveContent: [AvalonEditViewContent [edited]\DataManager.cs]

    ProjectService.OpenSolution: [Solution: FileName=[edited]\MySolution\MySolution.sln, HasProjects=True, ReadOnly=False]

    ProjectService.CurrentProject: [CSharpProject: MySolution]

     

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.