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 for Bug 5457 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
I have a project structure, that for other reasons, contains a symlink to a directory containing my resources. For example:
foo/images -> ../../somewhereelse/images
In the foo.csproj file, I reference resources in that images directory:
<Content Include="images\alphalayertest.png" />
For yet other reasons, that symlink became invalid. When this happened, MonoDevelop began to completely fail to open my project. Failing with the non-useful error message:
Error while trying to load the project '/Users/me/foo/foo.csproj': The directory name is invalid.
It would be great if it would report the name of the directory that was invalid, or even just load the project and mark all of the resources referenced through the invalid symlink as in error. Anything would be better than the obscure error above, that sent me off on a wild goose chase, trying to figure out what had changed and what the error message could possibly have meant.
Yes, I just got this, when updating my monomac project and deleting the monomac symlink and creating a new symlink, upon reloading the solution the projects that had monomac dll links aren't even loading in the editor.
Deleting the new symlink to monomac project directory at least lets the project that references monomac.dll load up.
This is monodevelop 3.0.05
Created attachment 10661 [details]
Project demonstrating the error
This still happens in Xamarin Studio 5.8.2 (build 7).
I was able to reproduce this just trying to open the project from comment #2.