[MonoDevelop] Problems with MonoDevelop on Windows

Scott Willeke scott at willeke.com
Thu Jan 28 15:13:23 EST 2010


Russ:

Look for a file named ".recently-used" in your My Documents folder. Rename it or delete it.  Let us know if that gets you going.


P.S. Found in MonoDevelop.Core.Gui.RecentFileStorage class.

On Jan 28, 2010, at 10:40 AM, Russ Fretenburg wrote:

> Hi,
> 
> 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,
> Russ
> 
> 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 bFromProxy)
> 
>    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)
> 
>    at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.GetSlnFileVersion(String strInSlnFile, String& headerComment)
> 
>    at MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.CanReadFile(String file, MSBuildFileFormat format)
> 
>    at MonoDevelop.Projects.Formats.MSBuild.MSBuildFileFormat.CanReadFile(FilePath file, Type expectedType)
> 
>    at MonoDevelop.Projects.FileFormatManager.GetFileFormats(String fileName, Type expectedType)
> 
>    at MonoDevelop.Ide.Commands.RecentProjectListHandler.Update(CommandArrayInfo info)
> 
>    at MonoDevelop.Components.Commands.ActionCommand.UpdateCommandInfo(CommandInfo info)
> 
>    at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo(Object commandId, Object initialTarget)
> ------------------------------------------------------------------------------------------------------------------------------
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list