Sorry, I was out of office. I overlooked the ~/bundles value in the umbracoReservedPaths key. It is there. So that is not the problem.
To give you and idea of my development environment:
Umbraco 6.1.5
OS: Windows 7 Professional
Webserver: IIS 7.5
Installed .NET version: .NET 4.0
ASP.NET 4.5 is installed, but under my application pool in IIS I only see v4.0 (which is normal I heard, as .NET 4.5 is an in place upgrade)
Database: Sql Server 2012
no styles rendered
Hi,
I just installed Optimus.Core 1.0 on my Umbraco 6.1.5 install
I created a bundle with the Create Script/Css bundle function on my Master View.
This added this line in my Master View:
But when I visit the page, the styles in the bundle are not rendered.
Am I doing something wrong?
greetings,
Anthony
Nope that should be it, are you sure that's the name of your bundle?
yes, when I look in the rendered page source code, I see this reference to the styles bundle:
Ok seems good then, and what happens if you request the path /bundles/styles
Maybe the problem has something to do with my local webserver (IIS 7.5) ?
the application pool for the webfolder runs on .NET v4.0
you mean what happens if I enter http://localhost/bundles/styles in the browser?
then I'm getting a 'link doesn't work' error in Chrome
Yup, can you see if umbracoReservedPaths in web.config contains ~/bundles/
no, it doesn't
Ok it needs that so you can try added it, should look like the value from
https://github.com/TimGeyssens/BundlingAndMinificationForTheMasses/blob/master/TestSite/Web.config
So
So does it work with that in place?
Hi Tim,
Sorry, I was out of office. I overlooked the ~/bundles value in the umbracoReservedPaths key. It is there. So that is not the problem.
To give you and idea of my development environment:
Umbraco 6.1.5 OS: Windows 7 Professional Webserver: IIS 7.5 Installed .NET version: .NET 4.0 ASP.NET 4.5 is installed, but under my application pool in IIS I only see v4.0 (which is normal I heard, as .NET 4.5 is an in place upgrade) Database: Sql Server 2012
I notice the new bundleTransformer node in web.config. Mine looks like this:
Yup looks good, any chance I can have a look at the site, you can mail details to [email protected]
Thanks Tim,
In the meantime, I installed Optimus.Core 1.0 on the Umbraco website on the testserver, and also there it's not working.
I have created an administrator account for you, and sent you and email.
greetings,
Anthony
Looks like it is trying to find a physical file, getting the same on a fresh 6.1.6 install so looks like it's a bug, will look into fix
Hi Tim,
Jeavon Leopold found there is an issue with WebGrease.dll in Umbraco 6.1.5. It makes the Razor dynamic .Any() method crash.
http://our.umbraco.org/forum/developers/razor/43030-sitemap?p=2 (last post on the page)
He found that upgrading WebGrease.dll from version v1.3.0 to v1.5.2 fixed the issue.
As the Optimus package is using WebGrease.dll, this might explain the issue with Optimus.Core 1.0 in Umbraco 6.1.5
greetings,
Anthony
@Tim, is there a fix for this issue yet? Can I just install it of my existing intallation of Optimus or do I need to uninstall Optimus first?
greetings,
Anthony
Think I know what is wrong
Did you do this step:
There is one manual change that needs to be done after installation
Look for
you mean empty attributes in the templates?
No sorry seems like part of the post got eaten look at details here
http://our.umbraco.org/projects/developer-tools/optimus
It's in the web.config look for xmlns="" in it and remove those empty attributes (should be in there twice)
Hi Tim, it's working now :)
Ok cool :) yeah it's on installation issue I need to fix so that it doesn't add the empty attribtutes :)
oops, was celebrating to early. Must have been looking at a cached version of my homepage, because now the styles aren't rendered anymore :(
Where can I verify that the bundles have been created?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.