Hide this comment

If you are compiling and running the project, you need to add a reference to the PowerPack using the 'add reference' dialog.

If you are sending this to the interactive window, you need to tell the interactive window to add the reference by using

#r "FSharp.PowerPack.dll";;

By on 6/4/2009 12:49 PM ()Reply
Hide this comment

Yeah, I added the PowerPack reference in VS. LazyList even shows up in object browser...

By on 6/4/2009 1:11 PM ()Reply
Hide this comment

I put your code into my usual Scratch VS solution and got the same error. Then I set the Specific Version property of the FSharp.PowerPack.dll reference to "False", rebuilt and the error disappeared.

F# often flags bogus errors in VS and they disappear when you manually rebuild.

If the solution predates the current F# then you might also consider creating a new one and copying the source across.

By on 6/5/2009 5:40 PM ()Reply
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper

Logging in...