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

@@ -13,20 +13,6 @@ download_dir="${0%/*}/download"
mkdir -p "${download_dir}"
cd "${download_dir}" || exit 1
if [ ! -f StyleCopPlus.dll ]; then
echo "Fetching StyleCopPlus from NuGet"
../noget.sh StyleCopPlus.MSBuild 4.7.49.5
cp ./StyleCopPlus.MSBuild/tools/StyleCopPlus.dll .
rm -rf StyleCopPlus.MSBuild
fi
if [ ! -f StyleCop.dll ]; then
echo "Fetching StyleCop files from NuGet"
../noget.sh StyleCop.MSBuild 4.7.49.0
cp ./StyleCop.MSBuild/tools/StyleCop*.dll .
rm -rf StyleCop.MSBuild
fi
if [ ! -f ICSharpCode.SharpZipLib.dll ]; then
echo "Fetching ICSharpCode.SharpZipLib from NuGet"
../noget.sh SharpZipLib 1.1.0