|
4 | 4 | <AssemblyName>Renci.SshNet</AssemblyName> |
5 | 5 | <Product>SSH.NET</Product> |
6 | 6 | <AssemblyTitle>SSH.NET</AssemblyTitle> |
7 | | - <TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0;net9.0</TargetFrameworks> |
| 7 | + <TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net8.0;net9.0</TargetFrameworks> |
8 | 8 | </PropertyGroup> |
9 | 9 |
|
10 | 10 | <PropertyGroup> |
|
18 | 18 | <PackageIcon>SS-NET-icon-h500.png</PackageIcon> |
19 | 19 | <PackageReadmeFile>README.md</PackageReadmeFile> |
20 | 20 | <PackageTags>ssh; scp; sftp</PackageTags> |
21 | | - <PackageReleaseNotes>https://github.com/sshnet/SSH.NET/releases/tag/$(Version)</PackageReleaseNotes> |
22 | 21 | <IncludeSymbols>True</IncludeSymbols> |
23 | 22 | <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
24 | 23 | <NBGV_ThisAssemblyIncludesPackageVersion>true</NBGV_ThisAssemblyIncludesPackageVersion> |
25 | 24 | <EmbedUntrackedSources>true</EmbedUntrackedSources> |
26 | 25 | <PublishRepositoryUrl>true</PublishRepositoryUrl> |
27 | 26 | </PropertyGroup> |
28 | 27 |
|
| 28 | + <Target Name="SetVersionProperties" BeforeTargets="Build" DependsOnTargets="GetBuildVersion"> |
| 29 | + <!-- For properties which depend on those set by NBGV --> |
| 30 | + <PropertyGroup> |
| 31 | + <PackageReleaseNotes>https://github.com/sshnet/SSH.NET/releases/tag/$(Version)</PackageReleaseNotes> |
| 32 | + </PropertyGroup> |
| 33 | + </Target> |
| 34 | + |
29 | 35 | <PropertyGroup Condition="'$(CI)' != ''"> |
30 | 36 | <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
31 | 37 | </PropertyGroup> |
32 | 38 |
|
33 | 39 | <PropertyGroup Condition=" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0')) "> |
| 40 | + <IsTrimmable>true</IsTrimmable> |
| 41 | + </PropertyGroup> |
| 42 | + |
| 43 | + <PropertyGroup Condition=" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0')) "> |
34 | 44 | <IsAotCompatible>true</IsAotCompatible> |
35 | 45 | </PropertyGroup> |
36 | 46 |
|
|
0 commit comments