p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional ASP.NET MVC 3 (http://p2p.wrox.com/forumdisplay.php?f=649)
-   -   How to use the NuGet Package (http://p2p.wrox.com/showthread.php?t=85382)

vbboyd October 17th, 2011 05:00 PM

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?

vbboyd October 17th, 2011 05:32 PM

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.

JonGalloway December 9th, 2011 09:26 PM

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"

MrYossu December 11th, 2011 01:03 PM

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?


All times are GMT -4. The time now is 12:14 AM.

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