Anney 20140103 Nuget Development Only

600 views
509 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
600
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Anney 20140103 Nuget Development Only

  1. 1. NUGET DEVELOPMENT-ONLY DEPENDENCIES By Anney
  2. 2. Question • How to exclude development dependencies 2014/1/14 2
  3. 3. Development-Only Dependencies • One of Nuget 2.7 Release Notes • This feature was contributed by Adam Ralph and it allows package authors to declare dependencies that were only used at development time and don't require package dependencies. By adding a developmentDependency="true" attribute to a package in packages.config, nuget.exe pack will no longer include that package as a dependency. 2014/1/14 3
  4. 4. Development-Only Dependencies(2) 2014/1/14 4
  5. 5. References • http://docs.nuget.org/docs/release-notes/nuget-2.7#DevelopmentOnly_Dependencies • http://docs.nuget.org/docs/reference/command-linereference#Excluding_development_dependencies_when_creating_packages 2014/1/14 5
  6. 6. ~ THE END ~ 2014/1/14 6

×