Method 'RouteCollection.get_AppendTrailingSlash' not found when using Razor Url helpers in ASP.NET MVC 5 Mono

前端 未结 3 626
独厮守ぢ
独厮守ぢ 2020-11-29 13:31

I am creating an ASP.NET MVC 5 application in Mono (Ubuntu 14.4, Monodevelop 5.9, Mono JIT compiler version 4.0.1).

I see that some of the razor components are not re

3条回答
  •  春和景丽
    2020-11-29 13:57

    The problem now seems to be resolved.

    Meanwhile, I had used this simple hack: Instead of using ASP.NET MVC helpers, We can use basic HTML syntax like this:

    For anchor like components:

    For form like components:

        


    Surely, it doesn't solve the bug but at least it can get ASP.NET MVC 5 project running on Mono.

    Thanks to @teovankot for pointing this out.

提交回复
热议问题