Max

Results 8 comments of Max

What version are you using and what's your project structure look like? Is `Project.Views` a separate project/assembly where your .cshtml files are located? If so, I believe you need to...

> @maxbanas I wonder if we should add a debug mode that dumps all known keys as part of the error message. So the Exception should be TemplateNotFoundException and has...

@jzabroski I've been thinking about this a bit. If we're on the same page, I can work on a pull request. To build the exception, we would need `RazorLightOptions` to...

It looks like you're preparing an rc. I haven't had time to fully implement the "debug mode" and exception message changes, but if the exception type thrown in `RazorSourceGenerator.GenerateCodeAsync(RazorLightProjectItem projectItem)`...

@knuxbbs fixing the following issues in your sample project worked for me: 1. The template key is wrong. It should be "Areas.MyFeature.Pages.Page1", not "RazorClassLibrary.MyFeature.Pages.Page1". 2. The Build Action for Page1.cshtml...

@jzabroski I've started working on the feature we discussed and created a new issue, #398, so we can stay on topic (and close this issue if you want).

@jzabroski I've only compiled/rendered templates using the "normal" API (RazorLightEngine via the builder), so I'm not very familiar with the other services/components in a standalone context. Do you know what...

@jzabroski > I wonder if we can detect when the stack trace can't decode `@inject` and point to a Wiki page with info? The most common reason this occurs is...