Problem with linked files


Under Visual Studio 2010, if I add a source file to a project using "Add as Link", the Compilation Order property page usually does not display (it seems it will display correctly if the linked file is in the project directory). Instead, an error message is displayed if I choose the Compilation Order tab (The error given is "An error occurred trying to load the page. The given key was not present in the dictionary."). I've attached a simple project demonstrating this. Without linked files, everything seems to be working OK.

file attachments


mfeingold wrote Jul 1, 2010 at 11:58 AM

Thank you for reporting the issue. I will have a look at it shortly

wrote Jul 6, 2010 at 9:47 PM

mfeingold wrote Jul 12, 2010 at 8:02 PM

I had a look - it is happening because the relative paths for files outside of the project are not properly processed - i.e. the C:\Root\Project1..\Project2\file.fs is used as is as opposed to collapsed to C:\Root\Project2\file.fs. Will be fixed for next shceduled release

wrote Sep 21, 2010 at 3:52 PM

wrote Feb 13, 2013 at 6:17 PM

wrote May 16, 2013 at 12:13 AM

wrote May 16, 2013 at 12:13 AM

wrote Jun 14, 2013 at 6:48 AM