Leogreen
Leogreen

Reputation: 701

Error to Integrating SquishIt with Asp.Net

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

Upvotes: 0

Views: 152

Answers (1)

David
David

Reputation: 218940

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

Upvotes: 1

Related Questions