Web config " /> Web config " /> Web config "/>

Error to Integrating SquishIt with Asp.Net

145 views Asked by At

i'm trying to use SquishIt in my Asp.net pages, but i'm receiving this error bellow

enter image description here

My code : <%@ Import Namespace="SquishIt.Framework" %>

Web config : debug false

1

There are 1 answers

0
David On BEST ANSWER

This has nothing to do with whatever SquishIt is.

In VB a carriage return is part of the syntax. (Unlike C# which treats a carriage return as meaningless whitespace.) So this code is invalid:

Bundle.Css()
  .Add("something")
  ' and so on

In VB you'd either need to have it on one line:

Bundle.Css().Add("something") ' and so on

or explicitly separate the lines:

Bundle.Css() _
  .Add("something") _
  ' and so on