I have the current bundle reference working locally:
Bundles.Reference("/Content/global.css");
On the development site, this resolves (somehow) via:
href="/_cassette/asset/Content/global.css?d8036040d7bdf16f597402da22aebe89fb415a42"
The problem is this is returning a 404 in production but unsure why. I though this may have been a configuration issue with the handler but I have not set one up in the configuration (web.config) so something must be happening internally to cause problems.
Both applications seem to be running .net 4+, can anyone help?
I was wrong (but close) in my previous answer. The fix was actually to add my own UrlModifier - this doesn't append the virtual directory to the path and all is well.