在Visual Studio 2017中发布.NET Core 2.2应用程序作为框架相关的可执行文件(FDE)

问题描述 投票:0回答:1

根据Microsoft的说法,从.NET Core 2.2开始,我可以将应用程序发布为“依赖于框架的可执行文件”(FDE)。它适用于命令行using the dotnet command

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

但是,我想在Visual Studio(2017)中使用GUI工具来完成它,我可以在其中配置和存储配置文件:

enter image description here

我怎样才能做到这一点?

.net .net-core visual-studio-2017 publish
1个回答
1
投票

你必须设置一个Target Runtime。用户界面有点混乱,不使用短语framework-dependent executable

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.