1

i'm following the http://skywalkersoftwaredevelopment.net/blog/writing-an-orchard-webshop-module-from-scratch-part-3 tutorial word for word but there is no option for me to enable or disable SkyWalker.Webshop.

I have done as it asks, created the 'Skywalker.Webshop' folder inside the 'modules' folder. delete the class1.cs file and add the Module.text file.

However when I load the application there is no option in the modules/features page that allows me to enable or disable webshop (why does it not appear)

anyone have any idea as to why? Thanks

enter image description here

4

2 回答 2

0

根据教程中提到的内容:

Orchard 要求您的模块物理存在于 Modules 目录中。

确保在创建类库时提供了正确的目录,因为class library当您尝试将新的类库添加到果园解决方案时,Visual Studio 会使用为类型项目提供的最新目录。

希望这可以帮助你。

于 2013-07-06T17:53:04.463 回答
0

也许以另一种方式尝试:

使用命令行工具(bin文件夹下的Orchard.exe)

键入以下内容

feature enable Orchard.CodeGeneration

然后,

codegen module Pluralsight.Movies /IncludInSolution:true

提示:使用“帮助推荐”、“帮助代码生成模块”

帮助您理解命令行。

于 2013-07-15T04:59:22.393 回答