Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
When I try to reopen a form that I had just created the following error is thrown from monodevelop
“System.IO.DirectoryNotFoundException: Directory '/Users/stavrosmenegos/Projects/ESMobile/iSFA/gr.entersoft.esmobile/gr.entersoft.esmobile/obj/Xcode/11' not found.
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x000cd] in /private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/corlib/System.IO/Directory.cs:483
at System.IO.Directory+<EnumerateKind>c__Iterator0.MoveNext () [0x00044] in /private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/corlib/System.IO/Directory.cs:532
at MonoDevelop.MacDev.XcodeSyncing.XcodeMonitor.ScanForAddedFiles (MonoDevelop.MacDev.XcodeSyncing.XcodeSyncBackContext ctx, System.Collections.Generic.HashSet`1 knownFiles, System.String directory, System.String relativePath) [0x000e7] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeMonitor.cs:194
at MonoDevelop.MacDev.XcodeSyncing.XcodeMonitor.GetChanges (IProgressMonitor monitor, MonoDevelop.MacDev.ObjCIntegration.NSObjectInfoService infoService, MonoDevelop.Projects.DotNetProject project) [0x00043] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeMonitor.cs:241
at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.SyncXcodeChanges (IProgressMonitor monitor) [0x00017] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:351”
followed by this exception
“System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.OpenFileInXcodeProject (System.String path) [0x00056] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:166”
Keep in mind that this is not consistent. Most of the times it works fine.
I've requested more info from the original reporter. I cannot reproduce this issue.
I think i fixed this issue a while ago. We weren't cleaning up properly which resulted in this exception being thrown after we deleted the temp directories.
Please provide steps so that we can verify this issue.
Kindly change status to NEEDINFO.