<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0</TargetFrameworks>
<AssemblyTitle>Agent expansion</AssemblyTitle>
<Description>LAN extension for the Stardust agent that discovers nodes and installs StarAgent automatically.</Description>
<Company>新生命开发团队</Company>
<Copyright>©2002-2026 NewLife</Copyright>
<VersionPrefix>1.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>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<IsPackable>False</IsPackable>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Stardust\Stardust.csproj" />
</ItemGroup>
<!-- SSH.NET 2023.0.0 起移除 net40/net45 目标,2020.0.2 是最后一个支持 net45 的版本 -->
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
<PackageReference Include="SSH.NET" Version="2020.0.2" />
</ItemGroup>
<!-- 最新版 2026.0.0 支持 net462/netstandard2.0/net8+,netstandard2.0 资产覆盖 net461+ 及全部新运行时 -->
<ItemGroup Condition="'$(TargetFramework)' != 'net45'">
<PackageReference Include="SSH.NET" Version="2026.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NewLife.Remoting" Version="4.0.2026.1024" />
</ItemGroup>
<ItemGroup>
<!-- Locales 目录由 NewLife.Core 源生成器编译期解析;本项目未直接引用 Core 包,显式挂载输入 -->
<AdditionalFiles Include="$(MSBuildProjectDirectory)\Locales\*.yml" />
</ItemGroup>
</Project>
|