AlexSJC
发布于 2023-10-18 / 1 阅读
0
0

WPF 应用的 .csproj 建议

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net8.0-windows</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <UseWPF>true</UseWPF>
    <Version>1.2.3</Version>
    <Copyright>Copyright © YourName 2024</Copyright>
    <ApplicationIcon>App.ico</ApplicationIcon>
  </PropertyGroup>

</Project>


评论