knapsack icon indicating copy to clipboard operation
knapsack copied to clipboard

Resource Not Found

Open tommck opened this issue 14 years ago • 2 comments
trafficstars

I keep getting a Resource not found error for my CSS files

I'm including one from my Site.Master in my ASP.NET MVC files.

I have this line:

<% Html.ReferenceStylesheet("Content/themes/base/jquery.ui.all.css"); %>

the file /Content/themes/base/jquery.ui.all.css does, indeed exist.

What am I doing wrong?

tommck avatar Aug 15 '11 20:08 tommck

The Knapsack project has been renamed to Cassette. The new project is here: https://github.com/andrewdavey/cassette

Regarding your error, what does the section of Web.config look like? Does it specify the "Content" folder as a stylesheet module? Also, double check the casing of the path e.g. Themes vs themes.

andrewdavey avatar Aug 16 '11 07:08 andrewdavey

You should probably put a notice on the site and remove the nuget package if that software's old. Would save people (read: me) a lot of time... On Aug 16, 2011 3:06 AM, "andrewdavey" < [email protected]> wrote:

The Knapsack project has been renamed to Cassette. The new project is here: https://github.com/andrewdavey/cassette

Regarding your error, what does the section of Web.config look like? Does it specify the "Content" folder as a stylesheet module? Also, double check the casing of the path e.g. Themes vs themes.

Reply to this email directly or view it on GitHub: https://github.com/andrewdavey/knapsack/issues/18#issuecomment-1814119

tommck avatar Aug 16 '11 22:08 tommck