I am experiencing some issues with asp.net mvc 4 I want to use
@model System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>>
as a model for my view.
For some reason i am getting an error An opening "<" is missing the corresponding closing ">"
.
I can create separate model which would contains my dictionary as a work around.
But i am just wondering is it a bug?
I was playing with that but cant make it work anyway then just for test i copy my model declaration to the View in MVC 3 project and it is looking good there, so it is something wrong with MVC 4.
I had the same issue and the solution was to re-install the latest ASP.Net MVC 4 framework. I also re-installed ASP.NET Web Pages with Razor Syntax.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With