giggio / dotnet-cross

A tool to cross compile .NET apps to the correct architecture and C library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotnet-cross

NuGet version (simpleserver-tool) Build app

A tool to cross compile .NET apps to the correct architecture and C library.

Running

Run it like this:

dotnet cross <dotnet args>

For example:

dotnet cross build
dotnet cross build --runtime linux-musl-x64 -c Release

If you add --runtime or -r it will create a container image and use that to build.

If you've seen Rust's Cross, it's the same idea.

Installing dotnet cli tool

This tool has to be installed as a dotnet global tool, will you need to have the .NET Sdk installed.

dotnet tool install --global dotnet-cross

Contributing

Questions, comments, bug reports, and pull requests are all welcome. Submit them at the project on GitHub.

Bug reports that include steps-to-reproduce (including code) are the best. Even better, make them in the form of pull requests.

Author

Giovanni Bassi.

License

Licensed under the MIT License.

About

A tool to cross compile .NET apps to the correct architecture and C library.

License:MIT License


Languages

Language:C# 100.0%