NuGet basic verification steps


Here are some basic steps that can be used to verify that the basic NuGet functionality is not broken. When familiar with the steps, it shouldn't take more than 5 minutes to go through them.
  1. Set up a gallery instance, with all the needed pieces
    1. In Taxonomy, remove the two pre-existing names and add 'Packages' instead
    2. Create a non-admin user
  2. Submit a NuGet package. e.g. use Elmah, which you can get from the NuGet feed (http://feed.nuget.org/rtm/packages/download?p=elmah.1.1.nupkg).
    1. Make sure that the package shows up on the feed, under the Packages tab, and under 'Manage My Submissions'
  3. In VS, install NuGet from Extension Manager
    1. Configure a new package source called GalleryServer that points to the gallery's OData feed (e.g. http://orchardproject.net:82/GalleryServer/FeedService.svc)
    2. Create an MVC 2 (or 3) solution
    3. Right click on References, choose 'Add Library Package Reference'
    4. Go to the Online tab, and choose the GalleryServer feed
    5. You should see your Elmah package in the list. Install it
    6. Make sure it shows up in the Installed packages section
  4. Back in the Orchard site, go to 'Manage My Submissions'
    1. Delete the package
    2. Make sure it;s gone from the feed, the Packages tab, and the 'Manage My Submissions' list

Last edited Dec 16, 2010 at 8:31 AM by davidebbo, version 2

Comments

No comments yet.