Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using .NET Core SDK to build roslyn on OSX / Linux #1489

Closed
ffimnsr opened this issue May 13, 2019 · 5 comments
Closed

Using .NET Core SDK to build roslyn on OSX / Linux #1489

ffimnsr opened this issue May 13, 2019 · 5 comments

Comments

@ffimnsr
Copy link

ffimnsr commented May 13, 2019

You can build using .NET Core SDK on windows, on linux one should use Mono. There is already implementation of .NET Core on linux, why don't we use it?

@filipw
Copy link
Member

filipw commented May 14, 2019

Can you please elaborate on what you are asking for? Would you like omnisharp-roslyn to be built using .NET Core?

@ffimnsr
Copy link
Author

ffimnsr commented May 15, 2019

@filipw yes, most of the distros nowadays does have package of dotnet-core. Is there any way to completely build the omnisharp-roslyn using it like on windows?

As I know, mono and dotnet-core are two seperate package and can exists whether the other package is not installed.

@crupest
Copy link

crupest commented May 16, 2019

I'm confused about this too. Since dotnet core has been launched for a long time and it is also designed to be cross platform. I see that you have already used dotnet core on Windows. It seems reasonable to use dotnet core on Linux/OS X to get benifit of sharing a common code base. And maybe dotnet core has better performance and develops faster than mono. Do you have any thoughts or plans on this?

@filipw
Copy link
Member

filipw commented May 16, 2019

OmniSharp was a .NET Core app for some time, but we had to switch to full framework.
Have a look here for more context and links to issues explaining the challenges #1384 (comment)

In short - because of how .NET Core handles assembly resolution, and the fact that MSBuild Tasks can run code themselves, OmniSharp cannot run on .NET Core and support all project types (desktop .NET, .NET Core, Unity etc). This is possible when it runs on full framework / Mono though.

I'll close this as duplicate - thanks.

@crupest
Copy link

crupest commented May 16, 2019

Got it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants