I have created a self-contained application with dotnet
:
dotnet publish -c release
The deployment package contains .net core runtime itself - so if somebody wants to use app - doesn't need to install .net core runtimes separately.
But my question is... is it possible to attach dotnet.exe
to deployment package?
F.e. - my web app expectes migrated database:
dotnet ef database update
This command cannot be run from self-contained application (no direct access to dotnet.exe
).
What are scenarios in this case? How should I handle it?