diff --git a/Settings.StyleCop b/Settings.StyleCop index 94d2d29259..02b1e4185b 100644 --- a/Settings.StyleCop +++ b/Settings.StyleCop @@ -360,5 +360,40 @@ + + + + + False + + + + + False + + + + + False + + + + + False + + + + + False + + + + + False + + + + + \ No newline at end of file diff --git a/thirdparty/fetch-thirdparty-deps.ps1 b/thirdparty/fetch-thirdparty-deps.ps1 index 8b36766ff7..e7ea44a09e 100644 --- a/thirdparty/fetch-thirdparty-deps.ps1 +++ b/thirdparty/fetch-thirdparty-deps.ps1 @@ -9,6 +9,14 @@ if (!(Test-Path "nuget.exe")) (New-Object System.Net.WebClient).DownloadFile("http://nuget.org/nuget.exe", $target) } +if (!(Test-Path "StyleCopPlus.dll")) +{ + echo "Fetching StyleCopPlus from NuGet." + ./nuget.exe install StyleCopPlus.MSBuild -Version 4.7.49.5 + cp StyleCopPlus.MSBuild.4.7.49.5/tools/StyleCopPlus.dll . + rmdir StyleCopPlus.MSBuild.4.7.49.5 -Recurse +} + if (!(Test-Path "StyleCop.dll")) { echo "Fetching StyleCop files from NuGet." diff --git a/thirdparty/fetch-thirdparty-deps.sh b/thirdparty/fetch-thirdparty-deps.sh index d55d238c2f..aad31cda77 100755 --- a/thirdparty/fetch-thirdparty-deps.sh +++ b/thirdparty/fetch-thirdparty-deps.sh @@ -3,6 +3,13 @@ # Die on any error for Travis CI to automatically retry: set -e +if [ ! -f StyleCopPlus.dll ]; then + echo "Fetching StyleCopPlus from nuget" + nuget install StyleCopPlus.MSBuild -Version 4.7.49.5 + cp ./StyleCopPlus.MSBuild.4.7.49.5/tools/StyleCopPlus.dll . + rm -rf StyleCopPlus.MSBuild.4.7.49.5 +fi + if [ ! -f StyleCop.dll ]; then echo "Fetching StyleCop files from nuget" nuget install StyleCop.MSBuild -Version 4.7.49.0