rory.ap
rory.ap

Reputation: 35318

Publish .NET Core 2.2 app in Visual Studio 2017 as framework-dependent executable (FDE)

According to Microsoft, as of .NET Core 2.2 I can publish an app as a "framework-dependent executable" (FDE). It works from the command-line using the dotnet command:

dotnet publish -c Release -r win-x64 --self-contained false

However, I'd like to do it using the GUI tool in Visual Studio (2017), where I can configure and store a profile:

enter image description here

How can I do this?

Upvotes: 2

Views: 426

Answers (1)

rory.ap
rory.ap

Reputation: 35318

You have to set a Target Runtime. The UI is a little confusing and doesn't use the phrase framework-dependent executable.

enter image description here

Upvotes: 2

Related Questions