[MonoDevelop] Possible problem with alpha 2 version
alan battersby
alan.battersby at ntlworld.com
Thu Jan 8 15:01:58 EST 2009
Its seems that my version of monodevelop randomly reports the error
below when I try to run my project. The result of this is that the file
open in the editor is wiped clean and the file is renamed as a backup. I
can reopen the now empty file and cut and paste my code onto it from the
backup. Presumably the file is deleted at the start of a write which
then does not proceed. Is it my system that is wrong or is this a bug?
Alan
System.IO.IOException: Sharing violation on path /home/alan/C#
development/OTPaths Lattice v1.6/OTPaths/Widgets/LatticeDisplay.cs
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous,
FileOptions options) [0x00265] in
/usr/src/packages/BUILD/mono-2.0.1/mcs/class/corlib/System.IO/FileStream.cs:283
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share) [0x00000] in
/usr/src/packages/BUILD/mono-2.0.1/mcs/class/corlib/Assembly/AssemblyInfo.cs:1
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append,
System.Text.Encoding encoding, Int32 bufferSize) [0x000a9] in
/usr/src/packages/BUILD/mono-2.0.1/mcs/class/corlib/System.IO/StreamWriter.cs:137
at System.IO.StreamWriter..ctor (System.String path, Boolean append,
System.Text.Encoding encoding) [0x00000] in
/usr/src/packages/BUILD/mono-2.0.1/mcs/class/corlib/Assembly/AssemblyInfo.cs:1
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor
(string,bool,System.Text.Encoding)
at System.IO.File.WriteAllText (System.String path, System.String
contents, System.Text.Encoding encoding) [0x00000] in
/usr/src/packages/BUILD/mono-2.0.1/mcs/class/corlib/System.IO/File.cs:632
at System.IO.File.WriteAllText (System.String path, System.String
contents) [0x00000] in
/usr/src/packages/BUILD/mono-2.0.1/mcs/class/corlib/System.IO/File.cs:627
at MonoDevelop.SourceEditor.SourceEditorView.Save (System.String
fileName, System.String encoding) [0x0009c] in
/home/alan/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:207
at MonoDevelop.SourceEditor.SourceEditorView.Save (System.String
fileName) [0x00000] in
/home/alan/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:183
at MonoDevelop.Ide.Gui.Document.Save () [0x00123] in
/home/alan/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:204
at MonoDevelop.Ide.Gui.Workbench.SaveAll () [0x00030] in
/home/alan/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:260
at MonoDevelop.Ide.Gui.ProjectOperations.DoBeforeCompileAction ()
[0x000c0] in
/home/alan/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProjectOperations.cs:794
at MonoDevelop.Ide.Gui.ProjectOperations.Build (IBuildTarget entry)
[0x00036] in
/home/alan/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProjectOperations.cs:742
at MonoDevelop.Ide.Commands.RunHandler.Run () [0x00046] in
/home/alan/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs:86
at MonoDevelop.Components.Commands.CommandHandler.Run (System.Object
dataItem) [0x00000] in
/home/alan/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CommandHandler.cs:41
at MonoDevelop.Components.Commands.ActionCommand.DispatchCommand
(System.Object dataItem) [0x0002e] in
/home/alan/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/ActionCommand.cs:89
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand
(System.Object commandId, System.Object dataItem, System.Object
initialTarget) [0x00275] in
/home/alan/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CommandManager.cs:540
More information about the Monodevelop-list
mailing list