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

Anney 20140103 Nuget Development Only

on

  • 444 views

 

Statistics

Views

Total Views
444
Views on SlideShare
444
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Anney 20140103 Nuget Development Only Anney 20140103 Nuget Development Only Presentation Transcript

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