Using Rider on Mac: prerequisites

Development in JetBrains Rider under Mac OS X will require at least one of the following additional frameworks depending on the kind of developed application:

  1. For regular .NET or Mono applications, install the latest stable Mono release from http://www.mono-project.com/download/.
  2. For .NET Core applications, install .NET Core for Mac.
19 comments
Comment actions Permalink

Attempt to create an "empty project" - the LoadOrUpdate fails. What am I missing?

I meet the Mac Prerequisites & Syst. Recs

XBuild Engine Version 14.0
Mono, Version 4.4.0.0

FIXED >> issue was related to a specific build version - installing an earlier build of Rider fixed the issue

Edited by Bertrand DECOUX
0
Comment actions Permalink

Now completely unusable for me due to https://youtrack.jetbrains.com/issue/RIDER-1180

Rider 1.0 EAP
Build #RS-146.1908, built on May 17, 2016
JRE: 1.8.0_76-release-b194 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

OSX 10.10.5

Mono JIT compiler version 4.4.0 (mono-4.4.0-branch-c7-baseline/5995f74 Thu Jun 2 15:13:10 EDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-master/a173357)
GC: sgen

0
Comment actions Permalink

I am only interested in targeting .NET Core and ASP.NET Core. Do I still need to install Mono?

5
Comment actions Permalink

@Steve Lessard no, you don't need mono.

0
Comment actions Permalink

Is there a way to add App.config files to projects?

0
Comment actions Permalink

I just installed latest version of Rider 1.0, EAP build 18. together with .NET Core for Mac.

I created a new solution -> .NET Core -> .NET Core Console Application

The Solution Explorer shows my Solution and (load failed). In the Event Log window I get the error message:

Solution Explorer:
ConsoleApp (1 project)
   ConsoleApp (load failed)

Event Log:
1:11 AM DotNetCore: No executable found matching command "dotnet-projectmodel-server"
11:11 AM DotNetCore: Communication problem. Please verify .NET Core version, Rider expects 1.0.0 Preview 2, you can download .NET Core SDK binaries only and specify a path for 'dotnet.exe' in Settings -> Build, Execution, Deployment -> .NET Core
11:11 AM Project 'ConsoleApp' load failed: Can't initialize DotNetCore: DotNetCore process '27153' exit unexpectedly with code 1
11:11 AM DotNetCore: /Users/stefan/ConsoleApp/ConsoleApp/ConsoleApp.xproj(8,3): error MSB4019: The imported project "/usr/local/share/dotnet/sdk/1.0.1/Microsoft/VisualStudio/v14.0/DotNet/Microsoft.DotNet.Props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
11:11 AM Project 'ConsoleApp' load failed: Can't initialize DotNetCore: DotNetCore process '27153' exit unexpectedly with code 1


What is missing?

dotnet --info

.NET Command Line Tools (1.0.1)

 

Product Information:

Version:            1.0.1

Commit SHA-1 hash:  005db40cd1

 

Runtime Environment:

OS Name:     Mac OS X

OS Version:  10.12

OS Platform: Darwin

RID:         osx.10.12-x64

Base Path:   /usr/local/share/dotnet/sdk/1.0.1

Rider 1.0 EAP
Build #RS-171.3085.726, built on February 22, 2017
Rider EAP User
Expiration date: March 24, 2017
JRE: 1.8.0_112-release-b724 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.3

Edited by Stevo
0
Comment actions Permalink

Stevo, your problem will be most certainly solved with a new Rider build with initial support for new .NET Core (1.1, csproj-based) projects. We expect to release the build this week, no later than on Thursday, March 23.

Thanks for your patience

1
Comment actions Permalink

Thanks Jura! Looking forward to the new version! Keep up your great work! And thanks again!

Edited by Stevo
0
Comment actions Permalink

Hi all, i cannot create dotnet core project. i installed the latest dotnet 

 

.NET Command Line Tools (1.0.1)

Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
Base Path: /usr/local/share/dotnet/sdk/1.0.1

but rider tell me, cannot found dotnet core. and give me a link to the dotnet core download page.

anybody can tell me why?

and the Rider EAP version is:

RS-171.3655.1246

i think i set the dotnet sdk version at the last version rider. and i reset it.
hmm... maybe i need restart mac.

Edited by Gemini Yellow
0
Comment actions Permalink

Gemini,

For .NET Core 1.1 latest mono is also required. avoid homebrew version, because it doesn't contain lib/mono/msbuild. We are working on removing this requirement at some next point.
More details here https://youtrack.jetbrains.com/issue/RIDER-3777

 

Edited by Ivan Shakhov
0
Comment actions Permalink

Heads-up, if you're targeting a recent version of Unity (5.5+), you can use the version of Mono bundled with Unity (Rider detects it).

0
Comment actions Permalink

"If Unity (5.5+) is installed Rider detects and may use mono bundled in it."

"Heads-up, if you're targeting a recent version of Unity (5.5+), you can use the version of Mono bundled with Unity (Rider detects it)."

It does not.  I have Unity 5.6 and several versions of 2017 installed and none were detected.  How is this detection handled? How can I set it up by hand?

So far my experience with Rider has been pretty bad.  Can't get it working properly on Windows or Mac :(

0
Comment actions Permalink

@John

Please check it on Toolset and Build settings page in Rider. There is also a possibility to change it manually.

If Rider doesn't detect Unity mono for you automatically, could you please share Rider logs with us?

You may attach them to this request https://youtrack.jetbrains.com/issue/RIDER-3825
(There is a possibility to attach your logs privately for the jetbrains-team only)

Thanks!

Edited by Ivan Shakhov
0
Comment actions Permalink

Rider 2020.2 dropped xbuild support.

0
Comment actions Permalink

But why !?

xbuild works quite well for me!

I just downgraded Rider back to 2020.1 :(

0
Comment actions Permalink

xbuild has been officially deprecated since May 10th 2017, we supported it till 2020.1. Sorry for the inconvenience, but it should have ended. Supporting old tech doesn't come without cost.

0
Comment actions Permalink

"Supporting old tech doesn't come without cost." - Yeah I totally agree :)

I didn't know xbuild is deprecated (I'm new Rider user), I do not rely on it heavily but I could even less. Most of our old stuff with framework 4.6.2 is in Visual Studio so it's not big problem, but with covid and remote work I've moved some of my workflow to MacOS and Rider.

btw side question about the future: We are migrating a lot of microservices from 4.6.2 to core 2.1 and 3.1 and I hope to skip some of the steps on some services by migrating directly to .net 5. So what is the status of Rider with support of .Net 5 and when?

0

Please sign in to leave a comment.

Have more questions?

Submit a request