Turns out that works just fine once you have the correct open statements.

By on 5/2/2010 2:50 PM ()

The syntax is right. I bet you haven't opened the namespace that contains IRequireSessionState. Here's an example that works (when referencing Microsoft.Build.Framework):

1
2
3
4
5
6
7
8
 

type MyType() =
    interface Microsoft.Build.Framework.ITaskHost                
    interface System.IDisposable with
        member this.Dispose() = ()

If I just say "ITaskHost" (a marker interface) without opening the namespace, I get two errors, one of which is what you mentioned.

By on 5/2/2010 2:27 PM ()

Just figured that out. Thanks, Brian!

By on 5/2/2010 2:51 PM ()
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