Do you have to have .net core installed on a system before using self contained apps?

后端 未结 2 634
清酒与你
清酒与你 2021-01-28 08:39

I\'m using Visual Studio 2019 to publish a self contained .net core 2.1 app. Many files are emitted during the publishing (application files as well as core libraries).

2条回答
  •  甜味超标
    2021-01-28 09:38

    Figured this out by using "file" to look at files. Turns out that when you publish app "Foo" for linux, you end up with a file named Foo which is actually an executable the launches your whole app (ie and any libraries it needs, etc).

    In other words, there is no "dotnet" command included or needed. Effectively, Foo takes the place of dotnet executable.

提交回复
热议问题