1

Closed

BC30494 line is too long

description

Found with the standard minification to one line - a JS file with a .aspx ext and 10k chars being parsed through asp.net gives a 500 error.
Any chance of getting an additional flag - something between -pretty:0 / not using pretty - where it allows a collapsed function/class per line?
 
[HttpCompileException]: C:\Projects\test.aspx(2): error BC30494: Line is too long.
at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Closed Oct 9, 2012 at 10:36 PM by ronlo
cleaning up the issues list

comments

ronlo wrote Oct 4, 2011 at 2:26 AM

Sounds do-able. I'll see what I can add.

ronlo wrote Oct 11, 2011 at 11:46 PM

Fixed in release 4.31: Added the -line:N option, which will break lines that get longer than N characters in length. For example, with this new release, try adding -line:9000 to your build and see if that helps.