ReSharper CLT on Linux

I'm trying to setup TeamCity on Linux, and I want to use ReSharper as a linter. But in TeamCity I get an error:

Unmet requirements: Exists=>DotNetFramework4\..+_.+ exists

Which is pretty fair, since there is no .NET for Linux, only Mono. If I try to run ReSharper CLT on build agent manually it gives me a bunch of not very useful errors:
“Fatal error running host's main loop. Component descriptor JetBrains.Application.Environment.ReportsProductsAllowedToRun [Singleton, Corrupted] is corrupted and cannot be accessed”.

But on the other hand, I have Rider perfectly working under Linux. So I guess it's possible to run ReSharper on the build server under Linux. Do you have any ideas how to do that, and if that isn't possible, is there a plan to bring ReSharper to Linux?

5 comments
Comment actions Permalink
Official comment

Hello!

 

Thank you for contacting us.

ReSharper CLT requires .NET 4.x, so I can only suggest to use Windows agent with installed .NET to run ReSharper CLT.

Here's corresponding feature request - https://youtrack.jetbrains.com/issue/RSRP-466029.

You are welcome to comment or vote for it.

Thank you.

Comment actions Permalink

Thank you for the answer! Will look forward to it.

0
Comment actions Permalink

This does not explain why Rider works and the CLI tools not.

BTW, the youtrack link is dead.

0
Comment actions Permalink

If the URL is adjusted on the right it works:

https://youtrack.jetbrains.com/issue/RSRP-466029 

This is a disturbing ".%A0" in it.

0
Comment actions Permalink

Hello Bodo!

 

Thank you for the correction, I've changed the link to the correct one in my post as well.

0

Please sign in to leave a comment.