Jump to content

Building MediaBrowser.Mono.sln on Linux


Recommended Posts

Posted

Hi there,

 

I'm currently trying to get MediaBrowser to compile on a linux box using Mono.

I have Mono 3.2.8 at hand. I had to fix some case sensitive filename related issues (which can be found here: https://github.com/gsnerf/MediaBrowser will create a pull request if everything is working as intended).

 

I'm currently stuck with selecting the right configuration/platform to complete the compile process.

As far as I can see I _have_ to choose Configuration "Release Mono" and system "Any CPU" or the compile process will die in MediaBrowser.Model.

If I do that however the profiles configuration will in most cases not download the necessary assembly files through nuget, as this is specifically blocked.

Is there a reason behind this?

 

Furthermore, why do I have to start MediaBrowser.mono.sln with configuration "Release Mono"? Shouldn't just Debug or Release suffice and the solution itself takes care, that subsequent packages that are multi-system are supplied with "Release Mono" where necessary?

 

In any case, great work with MediaBrowser thus far!

 

greetings,

gsnerf

Posted

All righty, I could compile the whole show and a quick test run shows there are no immediate bugs. I'll test more thoroughly in the comming days and see if I can also adapt the projects to also allow for debug builds.

Posted

Excellent. So I take it you removed the nuget exclusion for release mono?

Posted

Yes indeed.

  • Like 1
Posted

Welcome. The nuget exclusion was added a few months ago to work around a mono bug at the time. If you want to remove it feel free and submit a pull request.

 

We also use the Release Mono configuration to determine which sqlite assemblies to include. If you know a better way of doing it, by all means let's do it.

Posted

Great, only asking because i'll probably need that in the next couple days to get our ubuntu package build going. I can do it manually if you don't have it submitted by then though.

Posted

I think I'll send a pull request by some time tomorrow evening (GMT+1). Just want to make sure I didn't break anything in the process thats not immediatly obvious.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...