54 lines
2.1 KiB
XML
54 lines
2.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<AssemblyName>AntAgent</AssemblyName>
|
|
<TargetFramework>net7.0</TargetFramework>
|
|
<AssemblyTitle>蚂蚁代理</AssemblyTitle>
|
|
<Description>调度中心下发C#或Sql给蚂蚁代理执行</Description>
|
|
<Company>新生命开发团队</Company>
|
|
<Copyright>版权所有(C) 新生命开发团队 2022</Copyright>
|
|
<VersionPrefix>2.0</VersionPrefix>
|
|
<VersionSuffix>$([System.DateTime]::Now.ToString(`yyyy.MMdd`))</VersionSuffix>
|
|
<Version>$(VersionPrefix).$(VersionSuffix)</Version>
|
|
<FileVersion>$(Version)</FileVersion>
|
|
<AssemblyVersion>$(VersionPrefix).*</AssemblyVersion>
|
|
<Deterministic>false</Deterministic>
|
|
<OutputPath>..\Bin\Agent</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<LangVersion>latest</LangVersion>
|
|
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
|
|
<DefineConstants>$(DefineConstants);NETSTANDARD2_0;__CORE__</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='net45'">
|
|
<DefineConstants>$(DefineConstants);__WIN__</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
|
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<None Remove="appsettings.json" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="appsettings.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Include="favicon.ico" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="NewLife.Stardust" Version="2.7.2023.301" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AntJob.Extensions\AntJob.Extensions.csproj" />
|
|
<ProjectReference Include="..\AntJob\AntJob.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|