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

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : 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 July 9th, 2016, 04:34 PM
Authorized User
Join Date: Dec 2015
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 19: Using Bundling and minification

I am attempting to install "Microsoft.AspNet.Web.Optimization.WebForms" from Nuget Package Manager Console. All seemed to have gone well but I did receive the following message in red, in the middle of the "install dialog" in the Package Manager Console:
Successfully added 'WebGrease 1.5.2' to Site.
You cannot call a method on a null-valued expression.
At C:\BegASPNET\Site\packages\WebGrease.1.5.2\tools\i nstall.ps1:45 char:29
+ $msbuild.Xml.AddProperty <<<< ("WebGreaseLibPath", $relativePackageUri.ToString().Replace([System.IO.Path]::AltDirectorySeparatorChar, [System.IO.Pa
+ CategoryInfo : InvalidOperation: (AddProperty:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Does this represent a problem? If so, is there a solution?

Best Regards
Tip Tyler
Old July 11th, 2016, 03:30 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

I've never seen that error before when installing that package, but maybe this helps? http://stackoverflow.com/questions/2...b-grease-1-5-1

Imar Spaanjaars
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
Ch 19 Bundling and Minification AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 7 August 9th, 2016 12:18 PM
Chapter 19: Using Bundling and Modification phztfte1 BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 5 January 31st, 2016 03:44 PM
Next Chapter after 19? AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 February 15th, 2014 10:40 AM
Chapter 19 smloomis BOOK: Beginning ASP.NET 4 : in C# and VB 4 June 29th, 2013 04:13 AM
Chapter 6 Bundling a Database pg 231 mtvoyd BOOK: Beginning Android Application Development 6 January 18th, 2012 08:06 PM

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