dotnet-cross 0.4.0

dotnet tool install --global dotnet-cross --version 0.4.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-cross --version 0.4.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-cross&version=0.4.0                
nuke :add-package dotnet-cross --version 0.4.0                

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.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.4.0 430 11/10/2023
0.3.0 232 10/14/2023
0.2.2 249 10/12/2023
0.2.1 234 10/12/2023
0.2.0 218 10/12/2023
0.1.0 236 10/12/2023