Skip to content

Commit

Permalink
Maintain current build solution (#1268)
Browse files Browse the repository at this point in the history
* Add .NET 8.0 to current build project.
Add dependency **Microsoft.Bcl.AsyncInterfaces** for net462 and netstandard2.0 for current nuget spec

* Remove last new line

* Tabify
  • Loading branch information
scott-xu authored Dec 15, 2023
1 parent f4371ff commit 326ce14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build/build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
<OutputDirectory>Renci.SshNet\bin\$(Configuration)\net7.0</OutputDirectory>
<Moniker>net7.0</Moniker>
</TargetFrameworkModern>
<TargetFrameworkModern Include=".NET 8.0">
<OutputDirectory>Renci.SshNet\bin\$(Configuration)\net8.0</OutputDirectory>
<Moniker>net8.0</Moniker>
</TargetFrameworkModern>
</ItemGroup>

<Target Name="CleanModern" DependsOnTargets="CleanSolutionModern">
Expand Down
5 changes: 4 additions & 1 deletion build/nuget/SSH.NET.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@
<language>en-US</language>
<tags>ssh scp sftp</tags>
<dependencies>
<group targetFramework="net462" />
<group targetFramework="net462">
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[7.0.0]" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[7.0.0]" />
<dependency id="SshNet.Security.Cryptography" version="[1.3.0]" />
</group>
<group targetFramework="netstandard2.1">
Expand Down

0 comments on commit 326ce14

Please sign in to comment.