Tilde Slash Paths Not Working in MVC 4

前端 未结 8 555
逝去的感伤
逝去的感伤 2021-01-12 01:10

As I understand it, a plain ol\' \"~/foo\" path is supposed to work like @Url.Content(\"~/\") in MVC 4. However, I\'m trying to do this and getting many broken paths -- the

8条回答
  •  灰色年华
    2021-01-12 01:52

    Reinstalling MVC 4 (RC) using the standalone installer here solved this problem for me. I still don't understand what caused the problem, but I can live with that.

提交回复
热议问题