title: Method 'RouteCollection.get_AppendTrailingSlash' not found when using Razor Url helpers in ASP.NET MVC 5 Mono
body: <p>I am creating an <a href="http://www.asp.net/mvc/mvc5" rel="nofollow noreferrer">ASP.NET MVC 5</a> application in <a href="http://mono-project.com" rel="nofollow noreferrer">Mono</a> (Ubuntu 14.4, Monodevelop 5.9, Mono JIT compiler version 4.0.1).</p>
  <p>I see that some of the razor components are not recognized, eg:</p>
  <pre><code>@Url.Action
  </code></pre>
  <p>When I add this</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a title="Notifications" href="@Url.Action("_Listing","Home")"&gt; Home &lt;/a&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I get this error:</p>
  <blockquote>
  <p>System.MissingMethodException</p>
  <p>Method 'RouteCollection.get_AppendTrailingSlash' not found.</p>
  </blockquote>
  <p><code>System.Web.Mvc</code> is referenced from the packages. Is there anything else which is required?</p>
  <p><strong>Update:</strong> I tried these solutions so far:</p>
  <ul>
  <li><p><a href="https://stackoverflow.com/questions/4239645/does-the-razor-view-engine-work-for-mono">Does the Razor View Engine work for Mono?</a></p>
  </li>
  <li><p><a href="https://stackoverflow.com/questions/10566352/is-it-possible-to-use-razor-2-0-view-engine-under-mono?lq=1">Is it possible to use Razor 2.0 view engine under mono?</a></p>
  </li>
  <li><p><a href="http://www.davidloo.com/?p=479" rel="nofollow noreferrer">http://www.davidloo.com/?p=479</a></p>
  </li>
  <li><p><a href="http://iws.io/walkthrough-porting-asp-net-mvc-website-to-mono-2-6-1-and-mysql-on-linux-apache-porting-to-mono-part-3-of-3/" rel="nofollow noreferrer">http://iws.io/walkthrough-porting-asp-net-mvc-website-to-mono-2-6-1-and-mysql-on-linux-apache-porting-to-mono-part-3-of-3/</a></p>
  </li>
  </ul>
  <p>It seems like it is a <a href="https://github.com/chrisfcarroll/Mvc5-not-yet-working-on-mono" rel="nofollow noreferrer">known issue</a> but I strongly believe there shall be some hack for this to work. I tried using aspx engine also but no gain.</p>