Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET MVC 3
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 17th, 2011, 06:00 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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?
  #2 (permalink)  
Old October 17th, 2011, 06:32 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
  #3 (permalink)  
Old December 9th, 2011, 09:26 PM
Wrox Author
Points: 165, Level: 3
Points: 165, Level: 3 Points: 165, Level: 3 Points: 165, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2006
Location: San Diego, CA, USA
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"
  #4 (permalink)  
Old December 11th, 2011, 01:03 PM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?)

...and...

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?
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 09:08 AM
don't run my package when i schedule package Isra2005 SQL Server DTS 1 May 17th, 2005 02:34 AM
package Dennis Apache Tomcat 1 May 18th, 2004 11:26 AM
Package huskie Access 11 August 26th, 2003 12:34 PM



All times are GMT -4. The time now is 02:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.