首页 > 其他 > 详细

VS2019 发布单文件

时间:2019-10-09 14:03:00      阅读:322      评论:0      收藏:0      [点我收藏+]
在项目.csproj文件下添加

<PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <PublishSingleFile>true</PublishSingleFile>
    <RuntimeIdentifier>linux-arm</RuntimeIdentifier>
</PropertyGroup>

RuntimeIdentifier 为发布的平台,必填

可以选择win-x64 win-x86 等等

选择项目右键发布,编辑配置 选择操作系统平台 发布

VS2019 发布单文件

原文:https://www.cnblogs.com/microestc/p/11640947.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!