Hello I've got Invalid URI: The Uri string is too long.(from UriHelper.EscapeString) error using ClosureRemoteJsMinifier. The js file that is minimized is about 129 KB, but the UriHelper.EscapeString has a limit of 64KB.
System.dll!System.UriHelper.EscapeString(string input, int start, int end, char[] dest, ref int destPos, bool isUriString, char force1, char force2, char rsvd) + 0x17c bytes
> System.dll!System.Uri.EscapeDataString(string stringToEscape) + 0x41 bytes
System.Net.Http.dll!System.Net.Http.FormUrlEncodedContent.Encode(string data) + 0x2b bytes
System.Net.Http.dll!System.Net.Http.FormUrlEncodedContent.GetContentByteArray(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> nameValueCollection) + 0xb0 bytes
System.Net.Http.dll!System.Net.Http.FormUrlEncodedContent.FormUrlEncodedContent(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> nameValueCollection) + 0xe bytes
BundleTransformer.Closure.dll!BundleTransformer.Closure.Minifiers.ClosureRemoteJsMinifier.Compile(string content, string assetVirtualPath) + 0x4c0 bytes
BundleTransformer.Closure.dll!BundleTransformer.Closure.Minifiers.ClosureRemoteJsMinifier.Minify(System.Collections.Generic.IList<BundleTransformer.Core.Assets.IAsset> assets) + 0x201 bytes
BundleTransformer.Core.dll!BundleTransformer.Core.Transformers.TransformerBase.Minify(System.Collections.Generic.IList<BundleTransformer.Core.Assets.IAsset> assets) + 0x33 bytes
BundleTransformer.Core.dll!BundleTransformer.Core.Transformers.JsTransformer.Transform(System.Collections.Generic.IList<BundleTransformer.Core.Assets.IAsset> assets, System.Web.Optimization.BundleResponse bundleResponse, System.Web.Hosting.VirtualPathProvider virtualPathProvider, System.Web.HttpContextBase httpContext) + 0xb8 bytes
BundleTransformer.Core.dll!BundleTransformer.Core.Transformers.TransformerBase.Process(System.Web.Optimization.BundleContext context, System.Web.Optimization.BundleResponse response) + 0x23d bytes
System.Web.Optimization.dll!System.Web.Optimization.Bundle.ApplyTransforms(System.Web.Optimization.BundleContext context, string bundleContent, System.Collections.Generic.IEnumerable<System.Web.Optimization.BundleFile> bundleFiles) + 0xd0 bytes
System.Web.Optimization.dll!System.Web.Optimization.Bundle.GenerateBundleResponse(System.Web.Optimization.BundleContext context) + 0x164 bytes
System.Web.Optimization.dll!System.Web.Optimization.Bundle.GetBundleResponse(System.Web.Optimization.BundleContext context) + 0x69 bytes
System.Web.Optimization.dll!System.Web.Optimization.Bundle.GetBundleUrl(System.Web.Optimization.BundleContext context, bool includeContentHash) + 0x5c bytes
System.Web.Optimization.dll!System.Web.Optimization.BundleCollection.ResolveBundleUrl(string bundleVirtualPath, bool includeContentHash) + 0x10b bytes
System.Web.Optimization.dll!System.Web.Optimization.BundleCollection.ResolveBundleUrl(string bundleVirtualPath) + 0x2d bytes
System.Web.Optimization.dll!System.Web.Optimization.BundleResolver.GetBundleUrl(string virtualPath) + 0x5b bytes
.....
Comments: Hello, Cspwizard! In BundleTransformer.Closure 1.7.25 fixed this error.
System.dll!System.UriHelper.EscapeString(string input, int start, int end, char[] dest, ref int destPos, bool isUriString, char force1, char force2, char rsvd) + 0x17c bytes
> System.dll!System.Uri.EscapeDataString(string stringToEscape) + 0x41 bytes
System.Net.Http.dll!System.Net.Http.FormUrlEncodedContent.Encode(string data) + 0x2b bytes
System.Net.Http.dll!System.Net.Http.FormUrlEncodedContent.GetContentByteArray(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> nameValueCollection) + 0xb0 bytes
System.Net.Http.dll!System.Net.Http.FormUrlEncodedContent.FormUrlEncodedContent(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> nameValueCollection) + 0xe bytes
BundleTransformer.Closure.dll!BundleTransformer.Closure.Minifiers.ClosureRemoteJsMinifier.Compile(string content, string assetVirtualPath) + 0x4c0 bytes
BundleTransformer.Closure.dll!BundleTransformer.Closure.Minifiers.ClosureRemoteJsMinifier.Minify(System.Collections.Generic.IList<BundleTransformer.Core.Assets.IAsset> assets) + 0x201 bytes
BundleTransformer.Core.dll!BundleTransformer.Core.Transformers.TransformerBase.Minify(System.Collections.Generic.IList<BundleTransformer.Core.Assets.IAsset> assets) + 0x33 bytes
BundleTransformer.Core.dll!BundleTransformer.Core.Transformers.JsTransformer.Transform(System.Collections.Generic.IList<BundleTransformer.Core.Assets.IAsset> assets, System.Web.Optimization.BundleResponse bundleResponse, System.Web.Hosting.VirtualPathProvider virtualPathProvider, System.Web.HttpContextBase httpContext) + 0xb8 bytes
BundleTransformer.Core.dll!BundleTransformer.Core.Transformers.TransformerBase.Process(System.Web.Optimization.BundleContext context, System.Web.Optimization.BundleResponse response) + 0x23d bytes
System.Web.Optimization.dll!System.Web.Optimization.Bundle.ApplyTransforms(System.Web.Optimization.BundleContext context, string bundleContent, System.Collections.Generic.IEnumerable<System.Web.Optimization.BundleFile> bundleFiles) + 0xd0 bytes
System.Web.Optimization.dll!System.Web.Optimization.Bundle.GenerateBundleResponse(System.Web.Optimization.BundleContext context) + 0x164 bytes
System.Web.Optimization.dll!System.Web.Optimization.Bundle.GetBundleResponse(System.Web.Optimization.BundleContext context) + 0x69 bytes
System.Web.Optimization.dll!System.Web.Optimization.Bundle.GetBundleUrl(System.Web.Optimization.BundleContext context, bool includeContentHash) + 0x5c bytes
System.Web.Optimization.dll!System.Web.Optimization.BundleCollection.ResolveBundleUrl(string bundleVirtualPath, bool includeContentHash) + 0x10b bytes
System.Web.Optimization.dll!System.Web.Optimization.BundleCollection.ResolveBundleUrl(string bundleVirtualPath) + 0x2d bytes
System.Web.Optimization.dll!System.Web.Optimization.BundleResolver.GetBundleUrl(string virtualPath) + 0x5b bytes
.....
Comments: Hello, Cspwizard! In BundleTransformer.Closure 1.7.25 fixed this error.