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 trying to open a "recent solution" from start page (left panel), I am shown an error dialog saying: "File not found: [...]".
The solution name contains a whitespace "For example.sln".
I am unable to reproduce this. I tried a solution filename with a space in it and also a solution filename with a space in it inside a directory which had a space in it. Both of these opened in Xamarin Studio 5.9.1 when they were selected from the Xamarin Studio start page.
Would you be able to provide repro steps and attach the IDE logs to the bug report?
I'm sorry, the problem wasn't the whitespace, but the "%20" we had in our solution path! After I changed the path (removing the "%20", the solution was opened without problems.
I changed the Bug-title according to this new findings.
Can you reproduce this?
I can repro it on the Mac but not on Windows.
My repro steps were:
1) File - New - Solution.
2) Choose a C# console app.
3) Enter foobar for the project name and foo%bar for the solution name.
4) Create the project.
5) Close the project.
6) Try to open the project again from the Recent Items list.
It fails to open it and the error message refers to the solution with a space in the path and its filename.
If you open the solution directly by using File - Open then it works.
Also if you open the solution from Finder it also works.
Looking at the recent items stored in the properties it looks like an encoding problem. In the RecentlyUsed.xml file under ~/Library/Preferences/XamarinStudio-5.0 you can see the file uri saved as:
On Windows, which works, we have:
So it looks like the URI is saved with an incorrect value in the RecentlyUsed.xml file or it should not be interpreted as a file url but loaded as a file with the file:// part removed. Loading the string as it is currently saved into a Uri object would turn the %20 into a space character and that matches the error message we are seeing.
Fixed in version 188.8.131.52 (master)
*** Bug 11028 has been marked as a duplicate of this bug. ***
@Prashant - Sorry I meant rename it using Finder and not using Xamarin Studio.
I have checked this issue and below are my observations:
After creating the Console app and I rename the folder that, path contains "%20". And the opening this project from the recent project list, I am no longer able to open it, because the path has been changed and this solution no longer exist in the recent project list.
I also observed that after changing the path I am able to open the solution via Reveal in finder=> double click on solution. After that I am successfully close and reopen the project from the recent project list.
So please let me know that should I close this issue OR I have to check something else.
An update to comment 10.
@Rajneesh - Yes please mark this as verified. The test steps you describe have verified the bug has been fixed.
@ Matt Thanks a lot for clarification.
As per comment 12, I am marking this issue as Verified Fixed.