mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 09:15:47 +00:00
86dc811458
* Drop net6.0 target
* Update src/Renci.SshNet/Common/TaskToAsyncResult.cs
Co-authored-by: Rob Hague <rob.hague00@gmail.com>
* remove redundant #if
for some reason this made the compiler suddenly
realize that the plain text variables are unused.
* use TargetFrameworkIdentifier
this doesn't work in Directory.Build.props, moved it to Directory.Build.targets.
* fix null reference warnings in Benchmarks
seems like the warnings were (somehow) disabled here
before and were fixed by the previous TargetFrameworkIdentifier
change.
* fix unused plainTextOffset in AesGcmCipher.BclImpl
* CI retry
* more cosmetics
* more
* update README
* Revert "use TargetFrameworkIdentifier"
This reverts commit 076ede161d.
---------
Co-authored-by: Rob Hague <rob.hague00@gmail.com>
Co-authored-by: Robert Hague <rh@johnstreetcapital.com>
54 lines
1.8 KiB
XML
54 lines
1.8 KiB
XML
<Project>
|
|
<Import Project="$(MSBuildThisFileFullPath).user" Condition="Exists('$(MSBuildThisFileFullPath).user')" />
|
|
|
|
<!--
|
|
Assembly Info properties that apply to all projects/assemblies.
|
|
-->
|
|
<PropertyGroup>
|
|
<IsPackable>false</IsPackable>
|
|
<SignAssembly>true</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Renci.SshNet.snk</AssemblyOriginatorKeyFile>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<LangVersion>latest</LangVersion>
|
|
<WarningLevel>9999</WarningLevel>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Code analysis properties.
|
|
-->
|
|
<PropertyGroup>
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<AnalysisLevel>preview-All</AnalysisLevel>
|
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
|
</PropertyGroup>
|
|
|
|
<!-- don't treat NuGet Audit warnings as errors -->
|
|
<PropertyGroup>
|
|
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Disable nullable warnings on old frameworks because of missing annotations.
|
|
-->
|
|
<PropertyGroup Condition=" !$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0')) ">
|
|
<NoWarn>$(NoWarn);CS8602;CS8604;CS8777</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Add the stylecop config to each project.
|
|
-->
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" Visible="false" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
Use fixed version of analyzers.
|
|
-->
|
|
<ItemGroup>
|
|
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="all" />
|
|
<PackageReference Include="Meziantou.Analyzer" PrivateAssets="all" />
|
|
<PackageReference Include="SonarAnalyzer.CSharp" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
</Project>
|