title: ASP.NET Mvc convert <%@ Import Namespace="Thirpartynamespace" %> to Razor View
body: <p>I'm trying to convert the mvc 3 aspx view engine to razor view engine below:</p>
  
  <pre><code>&lt;%@ Import Namespace="ThirdpartyComp.Web.UI" %&gt; 
  &lt;% = Html.SomeFunction("Test")%&gt; 
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>@using ThirdpartyComp.Web.UI
  @Html.SomeFunction("Test")
  </code></pre>
  
  <p>When I do @html.SomeFunction(... I get this exeption:</p>
  
  <p><em><code>Are you missing a using directive or an assembly reference?</code></em></p>
  
  <p>Could anyone please confirm if above is possible, and anything that I'm missing?</p>
  
  <p>Thank you heaps.</p>