Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 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 September 16th, 2016, 08:47 AM
Registered User
 
Join Date: Sep 2016
Posts: 3
Thanks: 2
Thanked 1 Time in 1 Post
Default Chapter 3 installing Modernizr

Hi Imar,
I see there was a previous post from someone who could not install Modernizr and I have also seen a post about Library Package Manager being replaced with NuGet Package Manager.
I couldn't see that the original poster's problem had been solved and I have the same problem.
I'm using VS 2013

I get:
Install-Package : Unable to find package 'Modernizr'.
At line:1 char:16
+ install-package <<<< Modernizr
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Com mands.InstallPackageCommand

Is this an important issue? or can I ignore it?
Any other ideas how to fix it?

Thanks
Mike
 
Old September 17th, 2016, 05:44 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Mike,

The package exists so your command should work fine (just tested it myself). Maybe your network is blocking it? Does this help: http://stackoverflow.com/questions/1...e-webactivator ?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 19th, 2016, 04:59 AM
Registered User
 
Join Date: Sep 2016
Posts: 3
Thanks: 2
Thanked 1 Time in 1 Post
Default resolved

Thanks Imar,
I looked into the link you sent and this did help.

I have resolved this in the following way:
Under Tools > NuGetPackage Manager > Package Manager Settings > Nuget Package Manager > Package Sources
I check the box for nuget.org in the "Available Package Sources"

This was the only source listed and was not checked previously.

This still didn't resolve the issue.

Finally, in the Package Manager console I changed the selection in the Package source dropdown from Microsoft Visual Studio Offline Packages to Nuget.org.

Then the package installed correctly.

best wishes,

Michael
The Following User Says Thank You to OscarWhisky For This Useful Post:
Imar (September 20th, 2016)
 
Old September 20th, 2016, 08:03 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Michael,

Thanks for following up with your solution!

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install Modernizr ( pg 83) desperadoom BOOK: Beginning ASP.NET 4.5 : in C# and VB 4 March 7th, 2017 08:44 PM
Modernizr and polyfills Antonius Block BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 December 17th, 2014 05:01 PM
A question on Modernizr Antonius Block BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 November 25th, 2013 03:50 PM
CHAPTER 1 PG 11, installing php 5.3.6, i can't find libmysql.dll file Iantos BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 May 19th, 2011 05:01 AM
Password Chapter 2 - Installing on Windows possibleProgramming BOOK: Beginning PHP 5.3 0 July 28th, 2010 08:39 PM





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