-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when pipeline in empty namespace #191
Comments
Finally getting a chance to look into this bug - some observations:
|
Actually, the Markdown thing makes sense because the exception is happening inside the Razor engine and only Markdown, HTML, and Razor files are processed by Razor (as defined in the Statiq Web pipelines). Another data point is that the bug is happening for any class defined in the global namespace, not just pipelines. In the call stack I can see it's being triggered during namespace writing in the Razor engine when generating code. So...pretty sure the issue is that the |
… objects in the global namespace (#191)
Fixed, will go out with the next release. |
I get an exception in Content/PostProcess pipeline:
Repro steps
program.cs
input\index.md
Workaround
Move pipeline into namespace:
The text was updated successfully, but these errors were encountered: