I'm using T4MVC
in my project . but after deploying to a virtual directory e.g "/app" when I run the site all addresses were wrong . for example instead of being content/site.css
it's /app/content/site.css
and the browser can't find it .
for example I write :
<link href="@Links.Content.bootstrap_min_css" rel="stylesheet" type="text/css" />
that renders to
<link href="/app/Content/bootstrap.min.css" rel="stylesheet" type="text/css" />
instead of
<link href="Content/bootstrap.min.css" rel="stylesheet" type="text/css" />
how should I fix this problem ?