Giter Site home page Giter Site logo

Comments (10)

migueldeicaza avatar migueldeicaza commented on June 21, 2024

I thought that the Xbuild support was handled by the F# addin?

from zarchive-fsharpbinding.

alanmcgovern avatar alanmcgovern commented on June 21, 2024

What issue are you having with xbuild support? It's the sole build engine for our Android product for more than a year now.

from zarchive-fsharpbinding.

funnelweb avatar funnelweb commented on June 21, 2024
  • fsc.exe was not being installed in lib/mono/4.5. I think this was my mistake
  • The Microsoft.FSharp.targets has had some issues to do with resource files. Some fixes in fsharp/fsharp@369f7bd

I'm going to be compiling more projects using xbuild later today. For example I'll try to bootstrap the F# compiler using xbuild.

-- ben

from zarchive-fsharpbinding.

funnelweb avatar funnelweb commented on June 21, 2024

Yes, you're right, it's using it as the default if you enable xbuild. All looks good now, I'm compiling F# projects happily using xbuild after latest F# fixes - tag 3.0.6 in https://github.com/fsharp/fsharp

from zarchive-fsharpbinding.

alanmcgovern avatar alanmcgovern commented on June 21, 2024

My point was that you can force f# projects to always build with xbuild regardless of the IDE setting. This is probably what you want to do.

from zarchive-fsharpbinding.

funnelweb avatar funnelweb commented on June 21, 2024

Sounds right. Any idea how we do that? Now the fsharpbinding implements IDotNetLanguageBinding and overrides Compile with some logic which cracks the project file etc. on its own

https://github.com/fsharp/fsharpbinding/blob/master/MonoDevelop.FSharpBinding/FSharpLanguageBinding.fs

Do we replace this by an invocation of xbuild? If so, do you know where there some sample code for that?

-- ben

p.s. another one problem we have is that FSharp.Core is showing up as undefined in MonoDevelop's solution pad (though xbuild finds it on a build). If you know anything about that would be grateful for pointers #30

from zarchive-fsharpbinding.

alanmcgovern avatar alanmcgovern commented on June 21, 2024

@mhutch, What's the correct way to opt all F# projects in to using XBuild by default?

from zarchive-fsharpbinding.

mhutch avatar mhutch commented on June 21, 2024

useXBuild="true" on the DotNetProjectSubtype where the targets are registered

from zarchive-fsharpbinding.

alanmcgovern avatar alanmcgovern commented on June 21, 2024

They use a DotNetProject, not a DotNetProjectSubtype

from zarchive-fsharpbinding.

funnelweb avatar funnelweb commented on June 21, 2024

We can change if you think it is the right thing to do to move things
forward

from zarchive-fsharpbinding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.