Can I apply StyleCop to all projects in a solution without modifying each project file?

Feb 12, 2015 at 4:18 PM
Can I apply StyleCop to all projects in a solution without modifying each project file?

Right now I add an <Import> tag to every csproj file to include the StyleCop build targets, but this is quite tedious. I would like to be able to have StyleCop run over every project in the solution without needed to edit each project file.
May 14, 2015 at 2:57 PM
look for msbuild extensibility folders C:\Program Files (x86)\MSBuild[version]\Microsoft.Common.Targets\
[version] = 4.0 for MSbuild command line and 12.0 for Visual Studio 2013 integrated build.
At this path you can create ImportAfter/ImportBefore subfolders - any *.targets file placed there will be included in every build run on this machine.