Upgraded to Razor 3. Fixed ~/ issue