mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 01:05:42 +00:00
Upgrade packages (#1279)
This commit is contained in:
@@ -34,9 +34,8 @@
|
||||
Use fixed version of analyzers.
|
||||
-->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview1.23165.1" PrivateAssets="all" />
|
||||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="all" />
|
||||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="all" />
|
||||
<PackageReference Include="Meziantou.Analyzer" Version="2.0.103" PrivateAssets="all" />
|
||||
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982" PrivateAssets="all" />
|
||||
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.16.0.82469" PrivateAssets="all" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
<tags>ssh scp sftp</tags>
|
||||
<dependencies>
|
||||
<group targetFramework="net462">
|
||||
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[7.0.0]" />
|
||||
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[8.0.0]" />
|
||||
</group>
|
||||
<group targetFramework="netstandard2.0">
|
||||
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[7.0.0]" />
|
||||
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="[8.0.0]" />
|
||||
<dependency id="SshNet.Security.Cryptography" version="[1.3.0]" />
|
||||
</group>
|
||||
<group targetFramework="netstandard2.1">
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'netstandard2.0' ">
|
||||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
|
||||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1' or '$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net7.0' or '$(TargetFramework)' == 'net8.0' ">
|
||||
|
||||
@@ -130,6 +130,11 @@ dotnet_diagnostic.CA1711.severity = none
|
||||
# We do not care about this for unit tests.
|
||||
dotnet_diagnostic.CA1720.severity = none
|
||||
|
||||
# CA1861: Avoid constant arrays as arguments
|
||||
#
|
||||
# We do not care about this for unit tests.
|
||||
dotnet_diagnostic.CA1861.severity = none
|
||||
|
||||
# CA5351: Do not use broken cryptographic algorithms
|
||||
#
|
||||
# We do not care about this for unit tests.
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Renci.SshNet.IntegrationTests
|
||||
while ((line = sr.ReadLine()) != null)
|
||||
{
|
||||
// skip comments
|
||||
if (line.StartsWith("#"))
|
||||
if (line.StartsWith('#'))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user