NET项目生成时含多平台环境问题

<PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net6.0-windows</TargetFramework>
    <Nullable>enable</Nullable>
    <UseWPF>true</UseWPF>
    <SelfContained>false</SelfContained> 需要指定false
    <RuntimeIdentifier>win-x64</RuntimeIdentifier>指定运行环境
</PropertyGroup>

  

posted @ 2023-07-14 10:19  梅露露  阅读(20)  评论(0编辑  收藏  举报