Hi,
I tried to locate the problem.
What I found is this :In BundlingAndMinification.cshtml in BundleStyles it creates the
And I do not know how to find the reason for it.
I tried to locate the problem.
What I found is this :In BundlingAndMinification.cshtml in BundleStyles it creates the
BundleTable.Bundles.Add(sb); on line 148;
next Statement is: var bundlerUrl = BundleTable.Bundles.ResolveBundleUrl(bundleVirtualPath);
When it goes to this statement, an exception occurs and the BundleTable.Bundles looks like this:- BundleTable.Bundles {System.Web.Optimization.BundleCollection} System.Web.Optimization.BundleCollection
Count 1 int
+ DirectoryFilter {System.Web.Optimization.IgnoreList} System.Web.Optimization.IgnoreList
+ FileExtensionReplacementList {System.Web.Optimization.FileExtensionReplacementList} System.Web.Optimization.FileExtensionReplacementList
+ FileSetOrderList Count = 7 System.Collections.Generic.IList<System.Web.Optimization.BundleFileSetOrdering> {System.Collections.Generic.List<System.Web.Optimization.BundleFileSetOrdering>}
+ IgnoreList {System.Web.Optimization.IgnoreList} System.Web.Optimization.IgnoreList
UseCdn false bool
+ Non-Public members
+ Results View Expanding the Results View will enumerate the IEnumerable
- registeredSources Count = 2 System.Collections.Generic.List<string>
[0] "~/Frontend/1RB/Styles/style.css" string
[1] "~/Frontend/Composite/Web/Html/AcceptAlert/styles.css" string
+ Raw View
- sb {System.Web.Optimization.StyleBundle} System.Web.Optimization.StyleBundle
- base {System.Web.Optimization.StyleBundle} System.Web.Optimization.Bundle {System.Web.Optimization.StyleBundle}
+ Builder {System.Web.Optimization.DefaultBundleBuilder} System.Web.Optimization.IBundleBuilder {System.Web.Optimization.DefaultBundleBuilder}
CdnFallbackExpression null string
CdnPath null string
ConcatenationToken null string
EnableFileExtensionReplacements true bool
+ Orderer {System.Web.Optimization.DefaultBundleOrderer} System.Web.Optimization.IBundleOrderer {System.Web.Optimization.DefaultBundleOrderer}
Path "~/Bundles/Styles1347203396" string
+ Transforms Count = 1 System.Collections.Generic.IList<System.Web.Optimization.IBundleTransform> {System.Collections.Generic.List<System.Web.Optimization.IBundleTransform>}
+ Static members
+ Non-Public members
+ this {ASP._Page_App_Data_Razor_Composite_Web_BundlingAndMinification_cshtml} ASP._Page_App_Data_Razor_Composite_Web_BundlingAndMinification_cshtml
The exception Message is:A first chance exception of type 'System.IndexOutOfRangeException' occurred in WebGrease.dll
I have uploaded The Exception due to size and can be viewed hereAnd I do not know how to find the reason for it.