locked
XS beta 4 MacOSX referencing Solutions from Solution cannot load projects RRS feed

  • Question

  • User119 posted

    When opening existing solution where project were added through referencing other sln file in VS projects cannot be loaded anymore.

    Error is Load Failed. Could not find part of path ....

    After Reload the error is unknown file format.

    Adding projects separately one by one works.

    Now side-by-side installation of MonoDevelop is affected by this too...

    On windows XS loads project w/o hassle.

    MacOSX installation:

    • Mountain lion
    • case insensitive
    Thursday, February 21, 2013 7:29 PM

Answers

  • User48 posted

    BTW. I got 3 mails that You have answered my question but only with link to thread and "Have a nice day" and this is You signature, right? No content.

    Strange. Those might be due to edits done after Post Reply (you can edit answers up to one hour after posting), but I don't know for sure; I don't think I edited my answer in this thread, but I am not sure.

    As for the "Have a nice day" message, that's not my signature; that's automagically appended by Vanilla Forums, which our forums use.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, February 22, 2013 11:39 PM

All replies

  • User48 posted

    Can you please provide the Xamarin Studio log files?

    Thursday, February 21, 2013 10:06 PM
  • User119 posted

    Sorry Jon it was long past midnight and I was too tired.

    I took a short peek into log files on Windows and tried to compare, but nothing too suspicious. SDK path was found, NDK not (not required right). Only suspicious is in components log is faling to load MonoAnroid entitlements.

    Here are Windows Logs. MacOSX in another thread.

    thanks + regards

    Friday, February 22, 2013 7:20 AM
  • User119 posted

    MACOSX logs

    It seems something in SlnFileFormat.LoadSolution...

    Projects from solution that cannot be accessed are on github MonoMobile.Dialog https://github.com/moljac/MonoMobile.Dialog

    In few minutes I'll post steps with smallest reproducible test case

    Friday, February 22, 2013 7:26 AM
  • User119 posted

    Jon wait for a minute. On anoter Mac it is OK. We are checking paths and everything.

    It seems that checkout location was wrong, so relative paths were messed up.

    Will be back in a minute or two

    Friday, February 22, 2013 7:32 AM
  • User119 posted
    • Created folder structure that resembles structure on our projects
      • references\git\
        git repos
        references\git\MonoMobile.Dialog clone from git https://github.com/moljac/MonoMobile.Dialog
        references\git\MonoMobile.Dialog\MonoMobile.Dialog.sln referenced solution!
      • projects\XamarinStudioTests\SolutionReferencingSolutions
    • In VS created new soution SolutionReferencingSolutions.sln
    • In VS added Solution Folder MonoMobile.Dialog
      • Add existing project (change type to sln) +/ navigate to MonoMobile.Dialog.sln +/ Open
    • Optional: added folder where on Windows MT dlls are so everything can be compiled
    • XSb4[Windows] open solution
      • Expected errors:
        • Windows Phone
        • MonoTouch (?!!? why not loading on Windows?!?!)
          Unknown Solution type {};{} Guids for MT
    • Moved to MacOSX
      • Loaded as expected
    • On my way to see what has happened - suspecting SVN checkout problems
    Friday, February 22, 2013 9:16 AM
  • User48 posted

    I'm confused as to what the error is. This may be a bug; could you please create a full repro and file a bug at https://bugzilla.xamarin.com?

    MonoTouch (?!!? why not loading on Windows?!?!)

    This is expected: MonoTouch projects cannot be opened from Xamarin Studio on Windows, only from Visual Studio.

    Friday, February 22, 2013 5:09 PM
  • User119 posted

    Completely new checkout solved the issue.

    I'll try to test with small Test Solution I did earlier today, but got dragged away by tasks.

    Is there a reason to disallow working with MT projects in MD and XS?

    BTW. I got 3 mails that You have answered my question but only with link to thread and "Have a nice day" and this is You signature, right? No content.

    Friday, February 22, 2013 10:14 PM
  • User48 posted

    BTW. I got 3 mails that You have answered my question but only with link to thread and "Have a nice day" and this is You signature, right? No content.

    Strange. Those might be due to edits done after Post Reply (you can edit answers up to one hour after posting), but I don't know for sure; I don't think I edited my answer in this thread, but I am not sure.

    As for the "Have a nice day" message, that's not my signature; that's automagically appended by Vanilla Forums, which our forums use.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, February 22, 2013 11:39 PM