Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Edited Unassigned: Allow packages to state they should be installed as development dependencies by default [3639]

$
0
0
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.

```
<developmentDependency>true</developmentDependency>
```

The resulting nupkg would contain this data and when the nuget client sees this it will add the corresponding attribute in packages.config.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>