1

I have installed Roadkill Wiki engine (2.0.275), but i am facing these problems:-

  • when i run the project using visual Studio 2012 , i got the following message, on the home page:-

You have no mainpage set To set a main page, create a page and assign the tag 'homepage' to it.

  • Also i have noted that the Controller folder is empty, while the View folder do have sub folders. so do i have to create the controller classes manually ?

Thanks

4

1 回答 1

1

主页消息来自您在 Wiki 中没有创建任何页面,至少带有“主页”标签 - 这就是 Roadkill 挑选主页页面的方式。

该项目的结构与标准 MVC 模板略有不同,或者实际上完全不同。包括控制器和模型在内的所有 C# 代码都可以在 Roadkill.Core 中找到。所有视图、CSS 和 Javascript(或 Typescript)都可以在 Roadkill.Web 中找到。

因此,要查找控制器和模型,请查看:

Roadkill.Core
    - MVC
        - Controllers
        - Models
于 2014-05-25T12:31:54.487 回答