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

Closed Unassigned: An item with the same key has already been added. [132]

$
0
0
I have view that starts with:

@*

Foo.cshtml: Description
Foo2.cshtml: Description2

*@

That causes the MsBuild target to throw a dictionary exception from DirectivesParser.ParseKeyValueDirectives().

I guess it finds two keys (cshtml) with the values (Description, Description2) and it will fail to add that to the dictionary.

Current source have a TODO so I guess this is a work in progress. However, it would be nice to know which file is causing the error and perhaps treat it as a warning instead of an error.


Comments: Fixed in 1.6.1. Please verify!

Viewing all articles
Browse latest Browse all 525

Trending Articles