Getting [ERR!] As output when trying to use Nancy SuperSimpleViewEngine to render partial data
The example I'm using is litterally the ones on the example page here: https://github.com/NancyFx/Nancy/wiki/The-Super-Simple-View-Engine
So, I have my files created with index.sshtml and master.sshtml (copied / pasted in the example transcript) to the root directory and serving as the result:
Get["/"] = result => View["index.sshtml"];
When I go to localhost in my browser, I get text simply saying "[ERR!]" Instead of "This is the content on the index page" which I expected.
What am I doing wrong? Is there something I have to explicitly do to enable the Master / Section functionality for the SSVE?
Edit: Views:
master.sshtml
<html>
<body>
@Section['Content'];
</body>
</html>
index.shtml
@Master['master.sshtml']
@Section['Content']
This is content on the index page
@EndSection
File structure: + Debug | --- ConsoleApplication1.exe | --- index.sshtml | --- master.sshtml | --- (rest of Visual Studio output files) I'm sure this is the simplest example that might work, and for some reason it doesn't. There are no (non-displayable) exceptions in the debug window that are not displayed in the debug window, and no other indication that something went wrong, except that [ERR!] Is printed. This is the only content that gets printed, so I am assuming something in the Master block is failing ...
source to share