调整为.Net4.6.2,升级最新基础组件
大石头 authored at 2025-07-05 23:27:29
1.66 KiB
LeafBrowser
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net4.6.2</TargetFramework>
    <OutputType>WinExe</OutputType>
    <Deterministic>false</Deterministic>
    <PublishUrl>publish\</PublishUrl>
    <Install>true</Install>
    <InstallFrom>Disk</InstallFrom>
    <UpdateEnabled>false</UpdateEnabled>
    <UpdateMode>Foreground</UpdateMode>
    <UpdateInterval>7</UpdateInterval>
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    <UpdatePeriodically>false</UpdatePeriodically>
    <UpdateRequired>false</UpdateRequired>
    <MapFileExtensions>true</MapFileExtensions>
    <ApplicationRevision>0</ApplicationRevision>
    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    <IsWebBootstrapper>false</IsWebBootstrapper>
    <UseApplicationTrust>false</UseApplicationTrust>
    <BootstrapperEnabled>true</BootstrapperEnabled>
    <UseWindowsForms>true</UseWindowsForms>
    <ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
    <PlatformTarget>x64</PlatformTarget>
    <OutputPath>..\bin64\</OutputPath>
    <ApplicationManifest>app.manifest</ApplicationManifest>
    <GenerateManifests>false</GenerateManifests>
    <SignManifests>false</SignManifests>
    <ApplicationIcon>leaf.ico</ApplicationIcon>
    <TargetZone>LocalIntranet</TargetZone>
    <PostBuildEvent>del $(OutDir)*.xml /q
del $(OutDir)*.txt /q</PostBuildEvent>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="CefSharp.WinForms" Version="137.0.100" />
    <PackageReference Include="NewLife.Core" Version="11.5.2025.701" />
    <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="leaf.ico" />
  </ItemGroup>
</Project>