Certain packages, e.g. StyleCop.MSBuild should be installed as development dependencies in 99.99% of cases.
Currently, the only way to change a package installation is to manually edit the packages.config file after installing the package. It is easy to forget to do this and it is error prone.
There should be a way to change the default installation type of a package to being a development dependency.
One possible solution is to add an element to nuspec, e.g.
The resulting nupkg would contain this data and when the nuget client sees this it will add the corresponding attribute in packages.config.