andrewdavey/cassette — Issue #209: Cassette with T4MVC and virtual directory
Author: robertbird
Created: 2012-03-07 09:58:25+00:00
State: open

Hi,

I have an issue when using cassette in conjunction with T4MVC when hosted in a virtual directory. I'd like to be able to
reference my scripts and stylesheets without using paths as string and instead use the T4MVC objects.

i.e. Bundles.Reference(Links.Content.styles_css);

However when this runs in a virtual directory, T4MVC resolves to an absolute URL.

i.e. /myvirtualdir/content/styles.css

This throws a connot be found error in cassette (probably fair enough). So it's probably more of an issue with T4MVC.

But are there any ideas of how I can get these two to play nicely together?

Cheers,
Rob