Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Unassigned: Web.config pageBaseType no longer works in RazorGenerator 1.6.3 [135]

$
0
0
After updating to RazorGenerator extension 1.6.3, RazorGenerator.Mvc package 2.2.1 and ASP.NET MVC 5.0 some stuff stopped working.
We have a custom WebViewPage defined in web.config using <pages pageBaseType=""/>. Previously this worked like a charm and the .generated.cs files inherited from our custom WebViewPage with the model as a generic type.

This has changed, however. Now, no matter what we put in web.config the generated class inherits from the default WebViewPage which breaks a lot of code.

It seems that downgrading the Mvc version is not enough to make our application work again, which leads us to believe RazorGenerator is (at least partly) to blame. Is this a known issue? Should this work?
Comments: OK, I guess I can play with your test solution by downgrading it, because neither the OP nor my case is on 5.1. I should have explicitly stated I was using MVC 5.0 (and VS 2013) as the OP, and that cannot change in my case. Showing it working in 5.1 doesn't immediately help, other than suggesting this is an issue with just MVC 5.0. I was just echoing that the OP's observation was not isolated.

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>