GNOME Bugzilla – Bug 589927
Building with MonoDevelop on Windows
Last modified: 2010-02-28 18:23:09 UTC
I had to make several changes to the .csproj files in order to build banshee with MonoDevelop on Windows XP. I was following those instructions : http://banshee-project.org/download/development/#windows I'll post a patch with those changes.
Created attachment 139314 [details] [review] Changes to the .csproj files to build with MonoDevelop on Windows I'm using MonoDevelop 2.1.r136446 (latest preview) on Windows XP Here's a quick summary of the changes in this patch : 1/ Set <TargetFrameworkVersion> to v3.5 I had both .NET 2.0 and 3.5 on my system, and MD was using 2.0, causing compilation to fail 2/ Set <OutputPath> in the various PropertyGroup corresponding to the various build configuration. It seems MD doesn't care about the <OutputPath> set in the PropertyGroup that has no condition 3/ Remove all reference to MonoPosixHelper. It's a native dll, and MD doesn't like those. 4/ Fix all <HintPath> to point to the bin/ folder 5/ Add <DefineConstants>NET_2_0 in Nereid.csproj Without this, most of Mono.Data.Sqlite is not built. 6/ A few other small cleanups. A lot of thoses changes were done manually, because MD enjoys messing things up ;) I think I haven't broken anything on Linux, but you're welcome to prove me wrong !
I can confirm that the site instructions won't let you compile banshee on windows. I haven't tested your adjustments yet
Created attachment 154876 [details] [review] Various *.csproj fixes to be able to run Nereid from MonoDevelop on Windows. A couple of things from Bertrand's patch already made their way to the repository. My patch fixes all the things which are necessary to run Nereid.
I would like to add that the page which contains the howto misses one *very* important git command to issue in both banshee/ and banshee/bin/ git config core.filemode false otherwise git pull won't succeed
Ján, thanks for picking this up ! Committed. For the future, make sure that your commit message is wrapped at 72 characters, it makes for easier reading. Nicolò, that's right. I think we should update the banshee-dev.zip on the website, so that it already includes core.filemode=false in the .git/config files. I'm closing this, as the initial issues related to MonoDevelop are fixed.
can you update the banshee-dev.zip or do we need to open another bug?
(In reply to comment #6) > can you update the banshee-dev.zip or do we need to open another bug? I don't think I have the access right to update it, but I'll try to get it done. No need to open a new bug for that.