You might not need to do this. You can roll a fully self-contained distribution that will work for this OS with options to dotnet publish.
Unless you're sending your software to Mars, I say that saving 80mb of package bloat is not worth the engineering time especially for an OS that will be EOL in less than 2 years.