Couldn't get Xamarin projects working with Rider-EAP on OSX

Viewed 3300

I was really excited, when JetBrains launched the Project Rider-EAP. First thing I've tried was to get a Xamarin-iOS project to run in Rider-EAP, but it doesn't work out of the box.


Update 1: This issue is now listed as critical bug with fix in EAP 2: https://youtrack.jetbrains.com/issue/RIDER-618


1. Problem (fixed) Projects didn't load with the exception that Xamarin.iOS.targets could not be found.

I fixed this with a simple Symlink:

ln -s /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/ “/Applications/Rider EAP.app/Contents/lib/ReSharperHost/macos-x64/mono/lib/mono/xbuild/”

2. Problem References are not loaded correctly. Therefore the whole syntax highlighting and everything beyond is broken.

See screenshot: References are not loaded correctly

I get the following error as well:

Error:null: Error initializing task MakeDir: Could not load file or assembly '/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Tasks.dll' or one of its dependencies

Switching the xbuild to mono 4.2.2 removes the error but not solves the problem.

PS: It seams that the references are loaded correctly for Xamarin Android projects.

1 Answers
Related