mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 09:15:47 +00:00
508fc87d2a
* Fix analyzer errors in Renci.SshNet and Renci.SshNet.TestTools.OpenSSH. Suppress all errors in unit tests and integration tests. * Update unit tests now that we pass 'mode' as argument name when we throw ArgumentException. * Remove stale comment and add unit tests for SshData.ReadBytes(int length). * Remove unnessary suppression. * Remove Visual Studio magic. * Removed duplicate source file. * Clarified that suppression hides a false positive. * Remove suppressions for S2372. * Update ReadExtensionPair() to return concrete dictionary.
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<Project>
|
|
<Import Project="$(MSBuildThisFileFullPath).user" Condition="Exists('$(MSBuildThisFileFullPath).user')" />
|
|
|
|
<!--
|
|
Assembly Info properties that apply to all projects/assemblies.
|
|
-->
|
|
<PropertyGroup>
|
|
<SignAssembly>true</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Renci.SshNet.snk</AssemblyOriginatorKeyFile>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<LangVersion>latest</LangVersion>
|
|
<WarningLevel>9999</WarningLevel>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Code analysis properties.
|
|
-->
|
|
<PropertyGroup>
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<AnalysisLevel>preview-All</AnalysisLevel>
|
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Add the stylecop config to each project.
|
|
-->
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
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="Meziantou.Analyzer" Version="2.0.103" PrivateAssets="all" />
|
|
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
</Project>
|