57 lines
2.2 KiB
XML
57 lines
2.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<AssemblyName>AntAgent</AssemblyName>
|
|
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
|
|
<AssemblyTitle>蚂蚁代理</AssemblyTitle>
|
|
<Description>调度中心下发C#或Sql给蚂蚁代理执行</Description>
|
|
<Company>新生命开发团队</Company>
|
|
<Copyright>版权所有(C) 新生命开发团队 2020</Copyright>
|
|
<Version>2.0.2020.0419</Version>
|
|
<FileVersion>2.0.2020.0419</FileVersion>
|
|
<AssemblyVersion>2.0.*</AssemblyVersion>
|
|
<Deterministic>false</Deterministic>
|
|
<OutputPath>..\Bin\Agent</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<LangVersion>latest</LangVersion>
|
|
</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>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="NewLife.Agent" Version="8.7.2020.802" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AntJob.Extensions\AntJob.Extensions.csproj" />
|
|
<ProjectReference Include="..\AntJob\AntJob.csproj" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="del "$(TargetDir)*.xml" /q
del "$(TargetDir)*.dll.config" /q" />
|
|
</Target>
|
|
</Project>
|