Open orchardbot opened 13 years ago
@bleroy commented:
Issue is probably the the MVC project type made its way into the new module template (again), probably through a patch we shouldn't have taken. If you don't have MVC installed, VS will refuse to open the project. When we revert that, we should include a big, obvious comment explaining why it should never be added back.
Yinhaixia created: https://orchard.codeplex.com/workitem/18033
Run Orchard.Web\bin>Orchard.exe
orchard> codegen module module1 Creating Module module1 Module module1 created successfully
orchard> codegen datamigration module1 Creating Data Migration for module1 Data migration created successfully in Module module1
orchard> codegen controller module1 controller1 A change of configuration requires the session to be restarted. (Retrying...) Initializing Orchard session. (This might take a few seconds...) Creating Controller controller1 in Module module1 Controller controller1 created successfully in Module module1
open the site, the site pop up crash, see the attached file
In addtion, when I open the solution and reload the project, it failed with the error info
"Loading D:\Workspace\Orchard\src\Orchard.Web\Modules\module1\module1.csproj ... D:\Workspace\Orchard\src\Orchard.Web\Modules\module1\module1.csproj : error : The project file 'D:\Workspace\Orchard\src\Orchard.Web\Modules\module1\module1.csproj' cannot be opened.
The project type is not supported by this installation. "