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.
This is a really annoying bug for anyone using VS and XS. Which is everyone who wants to use VS, only that it's not possible to just use VS, whether it's the existing bugs or the need to build XIB interfaces.
Xamarin Studio completely messes the relative paths in the project file. They go perfectly clean from Visual Studio, with paths relative to project file, but when XS picks them up, it insists on using the relative path from root! wtf?? So what is a beautiful relative path, like 'Model\MyModelFile1' becomes a piece of trash like '..\..\..\trunk\solutionfolder\projectfolder\Model\MyModelFile1'.
Xamarin Studio 4.0.9 (build 12)
Do you have a repro for this? I'm not seeing it with our projects.
Created attachment 4301 [details]
Visual Studio solution
This is the Visual studio project, before sending over to the other side. Has nothing special really, just the Hello World project and a linked file (which does not seem to have anything to do with it).
Created attachment 4302 [details]
Xamarin Studio solution
This is the Xamarin Studio solution with the messed up project! I had to make two tries, my first attempt didn't quite work. It seems that special characters have some saying in this.
Full path to project was
Full path to project was
/Users/username/Documents/crazy drunk (duffbeer)/HelloWorld_App2/HelloWorld_App2
Did not try without the '()' characters to know if spaces are enough, but one of those is screwing things up. My SVN path is configured like that 'svnname (trunk)' so this was happening from the start.
Above attachments and comments should be more than enough.
Works fine for me with master. Can you reproduce it with the current Xamarin Studio alpha?
Although you reported this on Windows, i assume it's Mac, since the project is an iOS project and won't open in XS on Windows.
@Michael Hutchinson you're correct, it's with Mac version - because I started talking about the visual studio solution my brain automatically chose Windows but the issue is with XS for Mac, not VS.
I don't usually use alpha releases for production. Most I can do is install to try it out.
Changed to alpha channel. Still happens...
=== Xamarin Studio ===
Version 4.1.6 (build 2)
Installation UUID: 7af9a0e0-546a-4461-b9ca-1a6a341c892e
Mono 3.0.12 ((no/d6c5db8)
Package version: 300120000
=== Xamarin.Android ===
=== Apple Developer Tools ===
Xcode 4.6.1 (2067)
=== Xamarin.iOS ===
Version: 220.127.116.11 (Business Edition)
Build date: 2013-03-07 10:27:05-0400
=== Xamarin.Mac ===
Xamarin.Mac: Not Installed
=== Build Information ===
Release ID: 401060002
Git revision: dc82b708c19d7fa1dc3ad314cc6daf2151813130
Build date: 2013-07-11 20:50:47+0000
Xamarin addins: 97527c853b2a4f05cc024e3109368091be7f9d4f
=== Operating System ===
Mac OS X 10.8.4
Darwin goliveiramac.local 12.4.0 Darwin Kernel Version 12.4.0
Wed May 1 17:57:12 PDT 2013
Created attachment 4343 [details]
Messed up project
path to project file
/users/username/Documents/crazy drunk (duffbeer)/HelloWorld_App2/HelloWorld_App2
Again, the ' (duffbeer)' seems to be the responsible.
Seems to be related:
May also related:
Okay, so it only happened if there were characters in the project's path. The problem was that XS escaped the path, then tried to make it relative to the *unescaped* project directory.