【发布时间】:2021-01-06 15:58:41
【问题描述】:
我在D:\dev\app 有一个项目,配置如下:
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net48;net5.0-windows</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
</Project>
我应该添加什么来强制 VS 生成如下的 exe 文件:
D:\bin\app-net48.exe 用于net48 目标框架
D:\bin\app-net50.exe 用于net5.0-windows 目标框架
【问题讨论】:
标签: .net visual-studio msbuild