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

Like this? Share it with your network

Share

Anney 20140103 Nuget Development Only

on

  • 483 views

 

Statistics

Views

Total Views
483
Views on SlideShare
483
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 Presentation 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