[MonoDevelop] Problems with MonoDevelop on Windows

Russ Fretenburg russ.fretenburg at gmail.com
Thu Jan 28 13:40:43 EST 2010


I have been using Monodevelop 2.2 on Windows and somehow the project I have
been working on got corrupted. The .sln file ended up being unreadable - I
can't even access it in Windows Explorer to, for example, look at it's
properties, and I can't delete it (I will have to get my Network admin to do
that). I had a backup of the project that still works fine. But the problem
is that Monodevelop still tries to access the corrupt .sln file for the
welcome page and for the Recent Solutions feature. When it can't access the
.sln file it throws an exception and then crashes and I have to kill it with
the Task Manager. I even un-installed (and deleted the Applicaton
Data/Monodevelop folder) and re-installed Monodevelop, hoping it would
forget about the history but for some reason it did not.

Maybe this problem will go away once I can get  the corrupted file deleted
but it seems like this problem shouldn't cause Monodevelop to crash.

Any ideas how to fix this? Monodevelop is basically un-usable now, even
though I un-installed and re-installed it.

Best regards,

Here is the message from the exception:


Error while updating status of command: RecentProjectList.

System.UnauthorizedAccessException: Access to the path
'P:\2010\PDE\Code\MonoProjects\BoxerSerialWin\BoxerSerialWin.sln' is denied.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   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

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, FileOptions options)

   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean
detectEncodingFromByteOrderMarks, Int32 bufferSize)

   at System.IO.StreamReader..ctor(String path)

strInSlnFile, String& headerComment)

   at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.CanReadFile(String
file, MSBuildFileFormat format)

file, Type expectedType)

   at MonoDevelop.Projects.FileFormatManager.GetFileFormats(String fileName,
Type expectedType)



   at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo(Object
commandId, Object initialTarget)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100128/b4e6eb23/attachment-0001.html 

More information about the Monodevelop-list mailing list