Your SlideShare is downloading. ×
Anney 20140103 Nuget Development Only
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Anney 20140103 Nuget Development Only

428
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
428
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. NUGET DEVELOPMENT-ONLY DEPENDENCIES By Anney
  • 2. Question • How to exclude development dependencies 2014/1/14 2
  • 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. Development-Only Dependencies(2) 2014/1/14 4
  • 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. ~ THE END ~ 2014/1/14 6

×