Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

Xamarin.Mac corrupted?

$
0
0

I've been working in Xamarin Studio (Xamarin.Mac) now for several weeks with no issues other than learning curve. Then I ran into the issue documented here: http://forums.xamarin.com/discussion/74504/nsapplication-init-finding-missing-dependencies
I will have to put that issue to the side, as while I was working on it, somehow the whole Xamarin.Mac install got messed up, and now I am dead in the water. Reinstalling did not fix it. Here are the events which lead up to it (not sure what is relevant):

  • Working for weeks in xamarin.mac

  • Found that log4net/System.Web issue, and was troubleshooting it to write a descriptive post in the other thread

  • Installed Nuget add-in to XS
  • Added log4net through Nuget to a project in MyApplication
  • deleted nuget "package" folder and everything else to get my MyApplication files back as they are in VCS

  • Made a new solution with project NewProject

  • Added a project from the other solution ExtraProject

  • Made a minimal reproduction of log4net problem in NewProject
  • Kept trying to add log4net through Nuget which kept giving this error
    Adding log4net...
    Installing 'log4net 2.0.5'.
    Could not find file "/var/folders/tn/l73lhlbx0g5f0bpxgj38514h0000gn/T/NuGetScratch/7eaf0251-7d80-4510-9165-2e73e251ba4b/64087tti.bsz/lib/net10-full/log4net.dll”.

    No clue what that means, I never use Nuget.

  • Finally, manually downloaded log4net from the website and added it to NewProject

  • References tree showed 4-6 log4nets listed one after the other???

  • Removed one, they all went away, added it back, they all came back
  • Removed ExtraProject

Suddenly a yellow triangle on NewProject saying saying Xamarin.Mac is not installed (actually "This project type requires Xamarin.Mac to be installed")

  • Closed and reopened XS, same message

  • Rebooted, same message

  • Reinstalled Xamarin.Mac from xamarin.mac-2.4.0.109.pkg, which completed, even the "verifying packages" step
  • Rebooted, same message

Not sure how I managed to get into this mess but any help would be appreciated.


Viewing all articles
Browse latest Browse all 1429

Trending Articles