-
Notifications
You must be signed in to change notification settings - Fork 130
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
Upgrading RazorGenerator.MSBuild from 2.2.6 to 2.3.4 breaks rendering #29
Comments
Note sure if If it's still broken, I'll let @pranavkm comment as he's the RazorGenerator.MsBuild expert. |
We typically don't make breaking changes between point releases, but there were a few changes to how the msbuild target locates the cshtml files from your project. We could start by verifying the views are actually being compiled in to your assembly. Could you check if the generated files appear in the |
@davidebbo Upgrading to I'm using the |
@asbjornu that looks right so far. Can you check if the |
@pranavkm Thanks for pushing me in the right direction! After comparing the contents of the Investigating this further, there's actually three views that have a
On the master branch, running on RazorGenerator.MsBuild version |
@pranavkm I see. If you don't include |
@pranavkm You're correct, I think we only need to add
I'm on vacation at the moment, so I can't test it or create a pull request, but I see no reason why it wouldn't work. |
@cjberg Good point. Skip the warning. :) |
Fixed in 2011802. Package uploaded to NuGet - https://www.nuget.org/packages/RazorGenerator.MsBuild |
Brilliant! :) |
I just tried to upgrade RazorGenerator.MsBuild from version
2.2.6
to2.3.4
and RazorGenerator.Mvc from version2.2.3
to version2.3.5
. For reasons unbeknownst to me, that broke rendering of all views. In some circumstances, I get this exception:With the following stack trace:
In other circumstances, I get no exception, but a view rendered without a layout. This brings up a lot of questions I would love to have answered:
2
to be compatible both ways?2.3.4
while it's2.3.5
for RazorGenerator.Mvc?Thanks!
The text was updated successfully, but these errors were encountered: