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 November 9th, 2016, 11:15 AM
Registered User
 
Join Date: Nov 2016
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 7 Can't install NuGet

Tried to add Microsoft.AspNet.FriendlyUrls.Core package to the site but it won't work. I keep getting the following error, Please help.

PM> Install-Package Microsoft.AspNet.FriendlyUrls.Core

Install-Package : The current environment doesn't have a solution open.
At line:1 char:1
+ Install-Package Microsoft.AspNet.FriendlyUrls.Core
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PowerShell.Commands.In stallPackageCommand
 
Old November 9th, 2016, 11:28 AM
Registered User
 
Join Date: Nov 2016
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Solution found.

Go to file Save all

And then install
 
Old May 28th, 2018, 11:11 AM
Registered User
 
Join Date: May 2018
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you must have a solution(website) opened in the solution Explorer when install NuGet!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 3 P57 nuget Install problem JonnyDevv BOOK: Professional ASP.NET MVC 5 0 October 9th, 2015 01:19 AM
Cannot install the Mustache JavaScript template via NuGet rfalanga BOOK: Professional ASP.NET MVC 5 0 November 18th, 2014 04:21 PM
Nuget Problem Arman BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 3 July 13th, 2014 04:21 PM
Nuget Packages Offline Kourosh94 BOOK: Beginning ASP.NET 4.5 : in C# and VB 4 December 16th, 2013 11:09 AM
How to use the NuGet Package vbboyd BOOK: Professional ASP.NET MVC 3 3 December 11th, 2011 01:03 PM





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