Observations:
On our Jenkins build server, we were seeing lots of msbuild.exe processes (~100) hanging around after job completion with around 20mb memory u
I had the same issue. One old reference I found was in csproj files
..\packages\StyleCop.MSBuild.4.7.48.0\tools\StyleCop.targets
Also, I deleted the entire "Packages" folder that's located in the same folder as sln file after I closed the visual studio. It triggered VS to rebuild the folder and let go of the cache of the old version of stylecop