Forum Visual Studio

Xamarin mtouch linker ProjectDir resolve to Windows not Host

mwesolowskimwesolowski PLMember ✭✭

When using mac agent for building iOS Xamarin project from Visual Studio on Windows custom linker path used in -B ${ProjectDir} is resolving ProjectDir to Windows instead of Host location.

The only workaround is to specify path by hand but it's very inconvenient.

It seems that the same issue is reported on Xamarin bugzilla but it appears that is not resolved or was reintroduced with one of the latest Xamarin tools version:

Do you know if there is another workaround?


  • prashantvcprashantvc USXamarin Team Xamurai

    I have reopened the bug with relevant information, please add yourself to CC list to get the further updates.
    Until we investigate the bug, you can use the workaround suggested in the

  • mwesolowskimwesolowski PLMember ✭✭

    It seems that it was reintroduced once again in 15.9. ProjectDir points to Win path instead of Host (Mac Agent). In addition ld file is not being copied to the host as it used to be.

Sign In or Register to comment.