Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

dynamic build errors still persist in 1.34b
minorello
#1 Posted : Sunday, September 25, 2011 12:26:19 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/25/2011(UTC)
Posts: 1

Exception on build one of the proj:

foreach statement cannot operate on variables of type 'object' because 'object' does not contain a public definition for 'GetEnumerator'

IDictionary<string, dynamic> output; [...]

dynamic settings = output["Settings"];
foreach (var setting in settings)
{
[...]
}

Michele.
Remco
#2 Posted : Sunday, September 25, 2011 8:44:17 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Damn. You aren't by chance working in an open source solution are you? All attempts I've made to reproduce this issue consistently have failed ... I think it's being triggered by a combination of build configuration and some kind of unusual IL arrangement.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download