classes are not getting recognized in VS2010 or VWD2010 RRS feed

  • Question

  • User-850127045 posted

    I have this code"

    Imports System
    Imports System.Runtime.InteropServices.ComTypes
    Imports Microsoft.Expression.Web.Interop.Designer
    Namespace ExpressionWeb4_addin
        Public MustInherit Class DocumentEventHandler
            Inherits HTMLDocumentEvents
            Implements IDisposable

    HTMLDocumentEvents is not recognized and its a member of the namespace Microsoft.Expression.Web.Interrop.Designer.HTMLDocumentEvents.  I can see the class in the object browser.  Even if I start typing Microsoft.Expression.Web.Interop.Designer., Intellisense never shows me the members of this namespace.  The fact I can see this namespace in the object browser seems to be indicative that I have it referenced correctly.

    I'm stuck at this line because the entire tool does not seem to recognize this namespace.


    Wednesday, May 18, 2011 2:58 PM


All replies

  • User470413944 posted


    Can you try to remove the reference and re-add it back, and you can check the referenced dll is for correct framework.

    For more about Microsoft.Expression.Web namespace:


    I'm looking forward for your reply.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 20, 2011 6:12 AM
  • User-850127045 posted

    Thats the namespace for

    Imports Microsoft.Expression.Web

    There is also a namespace for Imports Microsoft.Expression.Web.Interop.Designer that is different.

    Friday, May 20, 2011 11:46 AM