Bug 11091 - Creating a new solution in a symlinked folder shows real paths, not symlinked paths
Summary: Creating a new solution in a symlinked folder shows real paths, not symlinked...
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Management ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: master
Assignee: Matt Ward
URL:
Depends on:
Blocks:
 
Reported: 2013-03-12 19:15 UTC by Andres G. Aragoneses
Modified: 2016-01-08 10:18 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 11091 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 original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Andres G. Aragoneses 2013-03-12 19:15:52 UTC
Steps to reproduce:

1) Create a folder and a symlink to the folder:

:~/$ cd Code
:~/Code$ ln -s testdir testsymlink
:~/Code$ cd testsymlink
:~/Code/testsymlink$ 

2) Open MD, create a solution inside ~/Code/testsymlink

Current results:
New solution is created, and the file opened is ~/Code/testdir/test/test/Program.cs
(You can check this by placing the mouse cursor in the tab of the file, and you see the path)

Expected results:
New solution is created, and the file opened is ~/Code/testsymlink/test/test/Program.cs
Comment 1 Colby Russell 2015-12-31 03:49:24 UTC
There's a related minor symlink path normalization bug with the solutions listed on the Welcome Page.

STR:

1. Create a solution 'foo' in /tmp/baz/
2. Close it
3. $ mv /tmp/baz /tmp/bar && ln -s /tmp/bar /tmp/baz
4. $ monodevelop /tmp/bar/foo/foo.sln
5. Close the solution again

Actual results:

Two items are shown in the list of recent solutions on the Welcome Page, one for /tmp/baz/foo and one for the normalized path /tmp/bar/foo.

Expected results:

The original item is either re-used or updated with the normalized path.
Comment 2 Andres G. Aragoneses 2016-01-08 10:18:00 UTC
>           What    |Removed                     |Added
>----------------------------------------------------------------------------
>           Priority|---                         |Normal
>           Assignee|lluis@...                   |matt.ward@...

Hey Matt, be careful, if you plan to fix this, it may be very easy to regress on these other related issues when trying to fix it: bug 5225, bug 27097, bug 27098.