Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Cannot find an asset bundle containing the path
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Welborn  
View profile  
 More options Dec 30 2011, 9:08 am
From: John Welborn <jwwel...@gmail.com>
Date: Fri, 30 Dec 2011 06:08:54 -0800 (PST)
Local: Fri, Dec 30 2011 9:08 am
Subject: Re: Cannot find an asset bundle containing the path
I think in your App_Code/CassetteConfiguration.cs file you still have
to add this

bundles.AddPerIndividualFile<StylesheetBundle>("Content");

Then it will create a bundle for each file.  You still have to tell it
to create the bundle before you can use it.

You can go to http://localhost/_cassette to see the dashboard.  That
will let you see what bundles are defined.

On Dec 29, 4:09 pm, Hhrvoje <hrvoje.hudoletn...@gmail.com> wrote:

> I added Cassette to my MVC 3 project, and no mater what i do, i always
> get:

> Cannot find an asset bundle containing the path "~/Content/Site.css".

> Source Error:
> Line 1:  @{
> Line 2:         Bundles.Reference("/Content/Site.css");

> I removed all setting from Cassette.Config.cs file, I don't want
> automatic discovery of files in folders.

> That css file is there, I can access it by typing URL, so don't
> understand why cassette doesn't see it?

> Also, how should I reference .min.js and .min.css files, for which I
> don't have no-min versions?

> thanx!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.