Coder Social home page Coder Social logo

Comments (5)

jkotas avatar jkotas commented on June 14, 2024 1

Try /p:NativeCompilationDuringPublish=false

from corert.

MichalStrehovsky avatar MichalStrehovsky commented on June 14, 2024 1

People also use this pattern:

https://github.com/wieslawsoltes/Draw2D/blob/95dc2d3ced9332299177aca2df9f032b9d60489f/src/Draw2D/Draw2D.csproj#L36-L39

from corert.

MichalStrehovsky avatar MichalStrehovsky commented on June 14, 2024

FYI, RyuJIT currently doesn't support crosstargeting. Not sure if work on this is funded on the RyuJIT side.

from corert.

MichalStrehovsky avatar MichalStrehovsky commented on June 14, 2024

(Also, ObjWriter)

from corert.

ctaggart avatar ctaggart commented on June 14, 2024

Is there a way to disable CoreRT using a msbuild property or something? Our build server is Linux and I still need to publish packages for Windows and Mac even if I can't use CoreRT for them.

Currently, on the build server, when I do:

dotnet publish --no-restore -c Release -r osx-x64 Shirley/Shirley.fsproj

I get this error:

  /bin/sh: 2: /tmp/tmp1d1040a7779b43ee81e172e3b247bcad.exec.cmd: /root/.nuget/packages/runtime.osx-x64.microsoft.dotnet.ilcompiler/1.0.0-alpha-27714-01/tools/ilc: Exec format error

/root/.nuget/packages/microsoft.dotnet.ilcompiler/1.0.0-alpha-27714-01/build/Microsoft.NETCore.Native.targets(247,5): error MSB3073: The command ""/root/.nuget/packages/runtime.osx-x64.microsoft.dotnet.ilcompiler/1.0.0-alpha-27714-01/tools/ilc" @"obj/Release/netcoreapp2.2/osx-x64/native/Shirley.ilc.rsp"" exited with code 2. [/opt/jenkins/workspace/VMCP_Conveyor_PR-199/Shirley/Shirley.fsproj]

Any way to disable CoreRT for this publish?

from corert.

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.