This should hopefully be a simple configuration problem.
When my application targets .Net 3.5
This code
<%= Html.ActionLink("Forgot your password?","ForgotPassword") %>
renders this:
<a href="/Account/ForgotPassword">Forgot your password?</a>
When my application targets .Net 4.0
The same code renders:
<a href="">Forgot your password?</a>
It's dropping the url part.
backwards compatibility is supposedly enabled in my web.config.
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
Ideas?