Created
November 16, 2020 06:02
-
-
Save iosdevzone/f2998f074acbe00b6a1d77b6af8608e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The answer, in case the question does not get enough reopen votes, is that you need to invoke the dll using `dotnet <dllname>`. | |
The easiest way to make sure that this works is to publish the app from Visual studio **Build > Publish To Folder...** and add | |
a script like the following in the produced folder. | |
```bash | |
#!/bin/bash | |
APP_NAME="HelloWorld" # Replace this with your app name | |
DIR="$(dirname ${BASH_SOURCE[0]})" | |
dotnet "$DIR"/"$APP_NAME".dll | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment