Is it possible to transform published .NET Core 2.0 application to .deb file?
I published my app by dotnet publish -c Release -r ubuntu.16.04-x64
. Now, my goal is
If you want to create .deb
packages for your .NET Core applications, you can use dotnet-deb
.
To install dotnet-deb
, add the following references to your .csproj
file:
Then, run dotnet restore
and dotnet publish -c Release -f netcoreapp2.0 -r ubuntu.16.04-x64
. This will generate a Debian installer package for you.
I'm the maintainer for the dotnet-deb
, feel free to ask follow up questions or head over to https://github.com/qmfrederik/dotnet-packaging if you have questions.