Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 961
Paul Reichelt Avatar asked Mar 07 '16 12:03

Paul Reichelt


People also ask

Does rider support xamarin?

JetBrains Rider supports creating and working with Xamarin applications for both Android and iOS.

Is xamarin forms still supported?

Xamarin support will end on May 1, 2024 for all Xamarin SDKs. Android 13 and Xcode 14 SDKs (iOS and iPadOS 16, macOS 13) will be the final versions Xamarin will target.


1 Answers

Basic Xamarin Support like open and build is added with EAP 8 of Project Rider.

More advanced features will come with the next Builds and are tracked here: https://youtrack.jetbrains.com/issue/RIDER-1533

like image 93
Paul Reichelt Avatar answered Oct 06 '22 09:10

Paul Reichelt