allow standalong publishing

This commit is contained in:
Ben Harris 2022-08-05 14:29:10 -04:00
parent 1b872a0ede
commit f0f9b300f4
2 changed files with 11 additions and 0 deletions

View File

@ -7,3 +7,9 @@ it will iterate through all arguments and display the normalized punycode and un
```shell
dotnet run -- tildə.net
```
to get a standalone linux executable:
```shell
dotnet publish -c Release -r linux-x64 --self-contained
```

View File

@ -4,6 +4,11 @@
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<PublishReadyToRun>true</PublishReadyToRun>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
<ItemGroup>