Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I couldn't find any compile-to-obj command with flags and such, instead there's a `dotnet` command that takes its input via a monolithic `.csproj` XML file and spits out a fully-formed binary

FYI I'm the lead of the Native AOT team at MSFT.

The key thing about .NET AOT is that it compiles the whole framework together, so right now the `dotnet` command is the top-level tool that connects all the pieces together. If you wanted to integrate with other native code, you can use `dotnet` to output a static library, which could then be linked with the rest of your native code.

You're right that this can be complicated to integrate with other build tooling. It's something we can work on, but there's a bit of inherent friction around the .NET side, where it needs to find all the appropriate libraries, NuGet packages, etc, and a make/bazel world.

Definitely something we can work on as we go forward.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: