Wrox Programmer Forums
BOOK: Professional ASP.NET MVC 3
This is the forum to discuss the Wrox book Professional ASP.NET MVC 3 by Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen; ISBN: 978-1-1180-7658-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 17th, 2011, 05:00 PM
Friend of Wrox
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default How to use the NuGet Package

Could some one out there please give me a detailed example of how to extract the packages Wrox.ProMvc3.Views.AlbumList on page 45 of the book. I down loaded the packages but how do you install them via the Visual Studio 2010 interface/compiler. Are there some instructions on how you do any of this?
Old October 17th, 2011, 05:32 PM
Friend of Wrox
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Never Mind I figured it out.

I figured it out you need to create a folder in your solution in Visual Studio and then you can call the install packages of nuget. Yes very nice.
Old December 9th, 2011, 09:26 PM
Wrox Author
Join Date: Oct 2006
Posts: 36
Thanks: 1
Thanked 5 Times in 5 Posts
Default Installing NuGet packages

The simplest way is to just add the packages to an ASP.NET MVC 3 application. Right-click references, pick Manage NuGet Packages, and search in the the dialog for the NuGet package by name. You can filter them down by searching for "Wrox"
Old December 11th, 2011, 01:03 PM
Registered User
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

I tried adding the packages from the package manager, and got loads of errors. For example, I got two files called Album.cs, with conflicting definitions of the Album class. If I deleted one, I then got loads of errors like...

The type or namespace name 'Models' does not exist in the namespace 'MvcMusicStore' (are you missing an assembly reference?)


The type or namespace name 'Artist' could not be found (are you missing a using directive or an assembly reference?)

How am I supposed to learn this stuff if the downloaded samples don't even work?

Similar Threads
Thread Thread Starter Forum Replies Last Post
HowtoRun package from .asp from Package Store? Tom de Koning BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 0 June 21st, 2006 08:08 AM
don't run my package when i schedule package Isra2005 SQL Server DTS 1 May 17th, 2005 01:34 AM
package Dennis Apache Tomcat 1 May 18th, 2004 10:26 AM
Package huskie Access 11 August 26th, 2003 11:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.