Git Product home page Git Product logo

Comments (8)

tmds avatar tmds commented on August 17, 2024 1

Thanks @akoeplinger , it is more clear to me how mono fits in the .NET6+ picture.

from standard.

akoeplinger avatar akoeplinger commented on August 17, 2024

The version of Mono produced out of the https://github.com/mono/mono repository will not support net5.0 or later versions, it will stay compatible with the net4.x releases. You can think of it the same way as ".NET Framework" vs. ".NET Core".

The Mono runtime is now part of the unified https://github.com/dotnet/runtime repository so it'll be available as an option there and is used today for WebAssembly target and iOS/Android with .NET 6.

from standard.

tmds avatar tmds commented on August 17, 2024

Do you plan to build versions of mono from dotnet/runtime repo that support net5.0 or later?
Or is ".NET 5+" the successor of mono, in the same way it is succeeding ".NET Framework"?

from standard.

akoeplinger avatar akoeplinger commented on August 17, 2024

Do you plan to build versions of mono from dotnet/runtime repo that support net5.0 or later?

The versions of mono built from the dotnet/runtime repo already support net5.0 or later, but it's important to understand that this is quite different from the traditional mono in that the mono runtime is used together with the unified BCL libraries and the dotnet host (similar to CoreCLR, just a different runtime).

Or is ".NET 5+" the successor of mono, in the same way it is succeeding ".NET Framework"?

I think that's a fair way to put it.

from standard.

tmds avatar tmds commented on August 17, 2024

The versions of mono built from the dotnet/runtime repo already support net5.0 or later

That's nice. Do you intend to release such builds (like what is now available on https://www.mono-project.com/download/stable/)?

from standard.

akoeplinger avatar akoeplinger commented on August 17, 2024

@tmds we publish runtime packs for Mono to the usual feeds, e.g. https://dev.azure.com/dnceng/public/_packaging?_a=package&feed=dotnet6&package=Microsoft.NETCore.App.Runtime.Mono.linux-x64&protocolType=NuGet&version=6.0.0-alpha.1.20612.4

You can use it by adding this to your .csproj which overrides the runtime pack name from the SDK (we'll likely simplify it in the future):

  <ItemGroup>
    <KnownFrameworkReference Update="Microsoft.NETCore.App">
      <RuntimePackNamePatterns>Microsoft.NETCore.App.Runtime.Mono.**RID**</RuntimePackNamePatterns>
    </KnownFrameworkReference>
  </ItemGroup>

And then publish a self-contained app via dotnet publish -r linux-x64, this only works with the 6.0 nightly dotnet SDK right now.

from standard.

tmds avatar tmds commented on August 17, 2024

I will definitely try that out.

Do you plan to distribute these runtime packages with .NET 6 release via nuget.org? For linux-x64? And other architectures that mono works on?

from standard.

akoeplinger avatar akoeplinger commented on August 17, 2024

Yes anything that is on that Azure DevOps feed will automatically flow to nuget.org for each (preview)release: https://www.nuget.org/packages/Microsoft.NETCore.App.Runtime.Mono.linux-x64/

from standard.

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.