Two things: * It should be an executable file * For TFMs which support executables, it should be packed in the `tools` directory of the NuGet package, not `lib` The `lib` directory will still need to be used for .NET Standard TFM (using it as a library).