Replace legacy StyleCop(Plus) with StyleCopAnalyzers

Analyzers are enabled in the Debug configuration
only to avoid unnecessary overheads when compiling
normally.
This commit is contained in:
Paul Chote
2019-05-03 21:25:28 +00:00
committed by reaperrr
parent 353db73381
commit ba282865f1
20 changed files with 159 additions and 582 deletions

View File

@@ -11,22 +11,6 @@ if (!(Test-Path "nuget.exe"))
(New-Object System.Net.WebClient).DownloadFile("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe", $target)
}
if (!(Test-Path "StyleCopPlus.dll"))
{
echo "Fetching StyleCopPlus from NuGet."
./nuget.exe install StyleCopPlus.MSBuild -Version 4.7.49.5 -ExcludeVersion -Verbosity quiet -Source nuget.org
cp StyleCopPlus.MSBuild/tools/StyleCopPlus.dll .
rmdir StyleCopPlus.MSBuild -Recurse
}
if (!(Test-Path "StyleCop.dll"))
{
echo "Fetching StyleCop files from NuGet."
./nuget.exe install StyleCop.MSBuild -Version 4.7.49.0 -ExcludeVersion -Verbosity quiet -Source nuget.org
cp StyleCop.MSBuild/tools/StyleCop*.dll .
rmdir StyleCop.MSBuild -Recurse
}
if (!(Test-Path "ICSharpCode.SharpZipLib.dll"))
{
echo "Fetching ICSharpCode.SharpZipLib from NuGet."