I am running this code:

let dateRange (first:System.DateTime) count =
seq {for i in 0..(count-1) -> first.AddDays(float i)}

and getting this message:

"The type referenced through 'System.Globalization.CultureInfo is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Globalization'. (using external F# compiler)

I added System.Globalization.dll to the Query Properties/Additional References tab and I am still getting this message. What is wrong?


Sign In or Register to comment.