[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: The view '/MVC/Views/Test/Index.cshtml' or its master was not found or no view engine s

  • Thread starter david.ondracek@bayoo.net
  • Start date
Status
Not open for further replies.
D

david.ondracek@bayoo.net

Guest
Hi Krishan, Thanks for the hint, that explains the problem indeed. When the widget is in a different assembly than the SitefinityWebApp, the Views have to be compiled as a resources m. In particular, you will have to set the „ Build Action“ property to „Embedded Resource“. This also means that every change in the cshtml of the view will require recompilation. Another option: move the View to the main SitefinityWebApp, but then you end up with controller and view in different assemblies which feels kind of messy :) Pls check point 5 in: www.progress.com/.../create-widgets-mvc As well as: www.progress.com/.../create-widgets-in-external-assemblies-mvc Hope the hint helps David

Continue reading...
 
Status
Not open for further replies.
Top