Anney 20140103 Nuget Development Only

  • 385 views
Uploaded on

 

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
385
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
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